artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d124c6e
)
oops, typo got into change
author
deraadt
<deraadt@openbsd.org>
Sat, 19 Apr 2014 13:09:11 +0000
(13:09 +0000)
committer
deraadt
<deraadt@openbsd.org>
Sat, 19 Apr 2014 13:09:11 +0000
(13:09 +0000)
lib/libssl/src/apps/s_socket.c
patch
|
blob
|
history
diff --git
a/lib/libssl/src/apps/s_socket.c
b/lib/libssl/src/apps/s_socket.c
index
d52714c
..
b77cb90
100644
(file)
--- 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);
}