]> diplodocus.org Git - nmh/blobdiff - sbr/client.c
Don't `else' after goto. Simplify control flow.
[nmh] / sbr / client.c
index b75f0e29f3a5614a378b0b3008ad4615e9eba12c..997889639e71847261674f91bdb0ce0bd1894a5b 100644 (file)
@@ -37,11 +37,11 @@ client (char *args, char *service, char *response, int len_response, int debug)
 
     ap = arguments;
     if (args != NULL && *args != 0) {
-       ap = client_copyip (client_brkstring (getcpy(args), " ", "\n"),
+       ap = client_copyip (client_brkstring (mh_xstrdup(args), " ", "\n"),
                ap, MAXARGS);
     } else {
        if (servers != NULL && *servers != 0)
-           ap = client_copyip (client_brkstring (getcpy(servers), " ", "\n"),
+           ap = client_copyip (client_brkstring (mh_xstrdup(servers), " ", "\n"),
                ap, MAXARGS);
     }
     if (ap == arguments) {