From 92397efcc624980fdf8467449b69d88d4acc4530 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 8 Jun 1999 07:11:21 +0000 Subject: Comment fix. svn path=/trunk/; revision=2484 --- socket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'socket.h') 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); -- cgit v1.2.3