------------------------------------------------------------
revno: 560
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Thu 2007-07-05 09:59:45 +1000
message:
fixed error message on bad IP/port
modified:
tools/ctdb.c
ctdb_control.c-20070426122705-9ehj1l5lu2gn9kuj-1
=== modified file 'tools/ctdb.c'
--- a/tools/ctdb.c 2007-07-04 22:56:02 +0000
+++ b/tools/ctdb.c 2007-07-04 23:59:45 +0000
@@ -316,7 +316,7 @@
}
if (!parse_ip_port(argv[0], &src)) {
- printf("Bad IP:port '%s'\n", argv[1]);
+ printf("Bad IP:port '%s'\n", argv[0]);
return -1;
}
@@ -350,7 +350,7 @@
}
if (!parse_ip_port(argv[0], &src)) {
- printf("Bad IP:port '%s'\n", argv[1]);
+ printf("Bad IP:port '%s'\n", argv[0]);
return -1;
}