Rev 560: fixed error message on bad IP/port in
http://samba.org/~tridge/ctdb
tridge at samba.org
tridge at samba.org
Wed Jul 4 23:59:46 GMT 2007
------------------------------------------------------------
revno: 560
revision-id: tridge at samba.org-20070704235945-bj7jpfsbrr2phuyc
parent: tridge at samba.org-20070704235911-gugknnnxjrihz80j
committer: Andrew Tridgell <tridge at samba.org>
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;
}
More information about the samba-cvs
mailing list