aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-06-08 07:11:21 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-06-08 07:11:21 +0000
commit92397efcc624980fdf8467449b69d88d4acc4530 (patch)
treedb4c540cec2a845e9cca9400734a2ecce51beeed
parent6444ac325e9211110a672e0463fd83f71bff56d4 (diff)
downloadfetchmail-92397efcc624980fdf8467449b69d88d4acc4530.tar.gz
fetchmail-92397efcc624980fdf8467449b69d88d4acc4530.tar.bz2
fetchmail-92397efcc624980fdf8467449b69d88d4acc4530.zip
Comment fix.
svn path=/trunk/; revision=2484
-rw-r--r--socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.h b/socket.h
index fdc395d9..c493daa6 100644
--- a/socket.h
+++ b/socket.h
@@ -20,7 +20,7 @@ int SockOpen(const char *host, int clientPort, const char *options,
Get a string terminated by an '\n' (matches interface of fgets).
Pass it a valid socket, a buffer for the string, and
the length of the buffer (including the trailing \0)
-returns buffer on success, NULL on failure.
+returns length of buffer on success, -1 on failure.
*/
int SockRead(int sock, char *buf, int len);