From: deraadt Date: Sat, 19 Apr 2014 13:09:11 +0000 (+0000) Subject: oops, typo got into change X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=cd0776dc1eead3078beb115707158e747a1d476f;p=openbsd oops, typo got into change --- diff --git a/lib/libssl/src/apps/s_socket.c b/lib/libssl/src/apps/s_socket.c index d52714c8c7f..b77cb9008bf 100644 --- a/lib/libssl/src/apps/s_socket.c +++ b/lib/libssl/src/apps/s_socket.c @@ -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); }