projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22df553
)
Exit if multiple server addresses is given (not supported)
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 20 Apr 2005 12:59:51 +0000
(12:59 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 20 Apr 2005 12:59:51 +0000
(12:59 +0000)
client/client.c
patch
|
blob
|
history
diff --git
a/client/client.c
b/client/client.c
index
033aea1
..
9f44998
100644
(file)
--- a/
client/client.c
+++ b/
client/client.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: client.c,v 1.275 2005-03-06 12:54:32 adam Exp $
+ * $Id: client.c,v 1.276 2005-04-20 12:59:51 adam Exp $
*/
#include <stdio.h>
@@
-4447,6
+4447,12
@@
int main(int argc, char **argv)
strcpy (open_command, "open ");
strcat (open_command, arg);
}
+ else
+ {
+ fprintf(stderr, "%s: Specify at most one server address\n",
+ prog);
+ exit(1);
+ }
break;
case 'd':
dump_file_prefix = arg;