oops, typo got into change
authorderaadt <deraadt@openbsd.org>
Sat, 19 Apr 2014 13:09:11 +0000 (13:09 +0000)
committerderaadt <deraadt@openbsd.org>
Sat, 19 Apr 2014 13:09:11 +0000 (13:09 +0000)
lib/libssl/src/apps/s_socket.c

index d52714c..b77cb90 100644 (file)
@@ -302,7 +302,7 @@ redoit:
                *host = NULL;
                /* return(0); */
        } else {
-               if ((*host = strdup(h1->h_name) == NULL) {
+               if ((*host = strdup(h1->h_name)) == NULL) {
                        perror("strdup");
                        return (0);
                }