summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strstr.c
diff options
context:
space:
mode:
authorderaadt <>2019-06-20 15:47:44 +0000
committerderaadt <>2019-06-20 15:47:44 +0000
commit9fddbc1119a5bde8e0230cd05995f60c60c3596b (patch)
tree4d5ecf3e797ce3dd93895c5f483711c34f87c941 /src/lib/libc/string/strstr.c
parentfb8053939138cdd23b49336549cc55d32f2a1fb8 (diff)
downloadopenbsd-9fddbc1119a5bde8e0230cd05995f60c60c3596b.tar.gz
openbsd-9fddbc1119a5bde8e0230cd05995f60c60c3596b.tar.bz2
openbsd-9fddbc1119a5bde8e0230cd05995f60c60c3596b.zip
tls_read() & tls_write() return 4 possible values: TLS_WANT_POLLOUT,
TLS_WANT_POLLIN, -1, or 0. After handling the first two, check for -1 rather than vaguely "< 0". ok jsing
Diffstat (limited to 'src/lib/libc/string/strstr.c')
0 files changed, 0 insertions, 0 deletions