- new socket function sock_send_error() and

sock_printf_error(): factored out the 'huh?-stuff, added error report
 log)
- use sock_printf() and sock_printf_error() if necessary (no need to
  use sprintf())
This commit is contained in:
boercher
2005-07-17 16:14:07 +00:00
parent 164f4fbed0
commit 93f162ff48
8 changed files with 156 additions and 131 deletions
+2
View File
@@ -36,6 +36,8 @@ int sock_recv (int fd, void *dest, size_t maxlen);
/* Return error message string for the socket function */
char *sock_geterror(void);
int sock_send_error(int fd, char* message);
int sock_printf_error(int fd, const char *format, .../*args*/);
// Er, ignore the rest of this file. I'll clean it up sometime...