From: Marcel Poul Date: Mon, 28 May 2012 23:16:21 +0000 (+0000) Subject: forgot to add timeout as a getopt parameter in client example X-Git-Tag: merge_32_head_dst~10 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=d4c715aa5061a415e3b9d20f496b06fae625f836;p=jra1mw.git forgot to add timeout as a getopt parameter in client example --- diff --git a/emi.canl.canl-c/examples/canl_sample_client.c b/emi.canl.canl-c/examples/canl_sample_client.c index cd36d29..2210b65 100644 --- a/emi.canl.canl-c/examples/canl_sample_client.c +++ b/emi.canl.canl-c/examples/canl_sample_client.c @@ -28,7 +28,7 @@ int main(int argc, char *argv[]) timeout.tv_sec = DEF_TIMEOUT; timeout.tv_usec = 0; - while ((opt = getopt(argc, argv, "hp:s:c:k:")) != -1) { + while ((opt = getopt(argc, argv, "hp:s:c:k:t:")) != -1) { switch (opt) { case 'h': fprintf(stderr, "Usage: %s [-p port] [-c certificate]"