diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-03 17:37:45 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-03 17:37:45 +0000 |
commit | f09953561bebb310cfe6a534c1262d77433a4e42 (patch) | |
tree | f1c3f89d74931b5f191212a73c1513d19803ee0d /src/sockutil.c | |
parent | 69ed36bbf5a6aebc34a5a86946398083a45ab981 (diff) |
Merge commit 'cbx/anopeng-charfix' into anopeng
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1408 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/sockutil.c')
-rw-r--r-- | src/sockutil.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sockutil.c b/src/sockutil.c index b28989bdb..b63c42cc3 100644 --- a/src/sockutil.c +++ b/src/sockutil.c @@ -6,9 +6,9 @@ * Please read COPYING and README for further details. * * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. - * - * $Id$ + * Based on the original code of Services by Andy Church. + * + * $Id$ * */ @@ -499,7 +499,7 @@ int sputs(char *str, ano_socket_t s) * @param ... various args * @return int */ -int sockprintf(ano_socket_t s, char *fmt, ...) +int sockprintf(ano_socket_t s, const char *fmt, ...) { va_list args; char buf[16384]; /* Really huge, to try and avoid truncation */ @@ -713,7 +713,7 @@ char *ano_sockstrerror(int error) /* Microsoft decided not to use sequential numbers for the error codes, * so we can't just use the array index for the code. But, at least - * use a binary search to make it as fast as possible. + * use a binary search to make it as fast as possible. */ while (start <= stop) { mid = (start + stop) / 2; |