From: Sean Hefty Date: Fri, 23 Feb 2007 21:15:20 +0000 (-0800) Subject: Fix cmpost to use server IP address. X-Git-Tag: v1.0-rc1~1 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=5e22315dec58e4432683ad9ffacb3a320b0301a9;p=~shefty%2Flibibcm.git Fix cmpost to use server IP address. Fix sample program to access the server using its IP address. The displayed comment for the program was incorrect. Signed-off-by: Sean Hefty --- diff --git a/examples/cmpost.c b/examples/cmpost.c index 6ee93d0..a85264b 100644 --- a/examples/cmpost.c +++ b/examples/cmpost.c @@ -708,8 +708,8 @@ out: int main(int argc, char **argv) { - if (argc != 1 && argc != 3) { - printf("usage: %s [-i server_addr | -l server_lid]\n", argv[0]); + if (argc != 1 && argc != 2) { + printf("usage: %s [server_ip_addr]\n", argv[0]); exit(1); }