git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
854a601
)
fixed error message on bad IP/port
author
Andrew Tridgell
<tridge@samba.org>
Wed, 4 Jul 2007 23:59:45 +0000
(09:59 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 4 Jul 2007 23:59:45 +0000
(09:59 +1000)
(This used to be ctdb commit
ad2d8615c028d55bc5e94c9d7bd8432cafde4a69
)
ctdb/tools/ctdb.c
patch
|
blob
|
history
diff --git
a/ctdb/tools/ctdb.c
b/ctdb/tools/ctdb.c
index e6c41d93b3baf029c792a81b084c0e2b217aed45..96286795879dd822798f27a20c53990d309a6df0 100644
(file)
--- a/
ctdb/tools/ctdb.c
+++ b/
ctdb/tools/ctdb.c
@@
-316,7
+316,7
@@
static int kill_tcp(struct ctdb_context *ctdb, int argc, const char **argv)
}
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
@@
static int tickle_tcp(struct ctdb_context *ctdb, int argc, const char **argv)
}
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;
}