forgot to add timeout as a getopt parameter in client example
authorMarcel Poul <marcel.poul@cern.ch>
Mon, 28 May 2012 23:16:21 +0000 (23:16 +0000)
committerMarcel Poul <marcel.poul@cern.ch>
Mon, 28 May 2012 23:16:21 +0000 (23:16 +0000)
emi.canl.canl-c/examples/canl_sample_client.c

index cd36d29..2210b65 100644 (file)
@@ -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]"