artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
324b29a
)
Return -1 on error (not 1).
author
jsing
<jsing@openbsd.org>
Mon, 4 Aug 2014 16:19:50 +0000
(16:19 +0000)
committer
jsing
<jsing@openbsd.org>
Mon, 4 Aug 2014 16:19:50 +0000
(16:19 +0000)
lib/libressl/ressl_server.c
patch
|
blob
|
history
diff --git
a/lib/libressl/ressl_server.c
b/lib/libressl/ressl_server.c
index
3fbff91
..
d9faa5d
100644
(file)
--- a/
lib/libressl/ressl_server.c
+++ b/
lib/libressl/ressl_server.c
@@
-88,7
+88,7
@@
ressl_listen(struct ressl *ctx, const char *host, const char *port, int af)
}
err:
- return (1);
+ return (
-
1);
}
int
@@
-100,7
+100,7
@@
ressl_accept(struct ressl *ctx)
}
err:
- return (1);
+ return (
-
1);
}
int
@@
-112,5
+112,5
@@
ressl_accept_socket(struct ressl *ctx, int socket)
}
err:
- return (1);
+ return (
-
1);
}