X-Git-Url: http://www.project-moonshot.org/gitweb/?p=cyrus-sasl.git;a=blobdiff_plain;f=sample%2Fclient.c;h=c6e5b989e97ae1ae17216e01ba98247f3d92a61d;hp=ec0514fd75d85359b5c6a2a87d1dd766b38de3f0;hb=78e8d1bad2ad9f819fb103b36b7aef60adb899ff;hpb=3fb011c8cebc0e9a3aa03503351f394919686441 diff --git a/sample/client.c b/sample/client.c index ec0514f..c6e5b98 100644 --- a/sample/client.c +++ b/sample/client.c @@ -342,7 +342,7 @@ int main(int argc, char *argv[]) int niflags, error; struct sockaddr_storage local_ip, remote_ip; int cb_flag = 0; - sasl_channel_binding cb; + sasl_channel_binding_t cb; while ((c = getopt(argc, argv, "cp:s:m:")) != EOF) { switch(c) { @@ -426,7 +426,7 @@ int main(int argc, char *argv[]) if (r != SASL_OK) saslfail(r, "allocating connection state"); if (cb_flag) { - cb.type = "sasl-sample"; + cb.name = "sasl-sample"; cb.data = "this is a test of channel binding"; cb.len = strlen(cb.data);