From bdb843f6536e0a521e73d79c3a62b0363b8aa2ab Mon Sep 17 00:00:00 2001 From: Nigel Horne Date: Fri, 26 Nov 2004 12:05:17 +0000 Subject: [PATCH] Remove warning message git-svn: trunk@1122 --- clamav-devel/libclamav/mbox.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/clamav-devel/libclamav/mbox.c b/clamav-devel/libclamav/mbox.c index 9bb1a4d6c..17c0fb95e 100644 --- a/clamav-devel/libclamav/mbox.c +++ b/clamav-devel/libclamav/mbox.c @@ -17,6 +17,9 @@ * * Change History: * $Log: mbox.c,v $ + * Revision 1.182 2004/11/26 12:05:17 nigelhorne + * Remove warning message + * * Revision 1.181 2004/11/22 15:18:51 nigelhorne * Performance work * @@ -531,7 +534,7 @@ * Compilable under SCO; removed duplicate code with message.c * */ -static char const rcsid[] = "$Id: mbox.c,v 1.181 2004/11/22 15:18:51 nigelhorne Exp $"; +static char const rcsid[] = "$Id: mbox.c,v 1.182 2004/11/26 12:05:17 nigelhorne Exp $"; #if HAVE_CONFIG_H #include "clamav-config.h" @@ -2344,7 +2347,7 @@ boundaryStart(const char *line, const char *boundary) p = ptr = rfc822comments(line); if(ptr == NULL) - ptr = line; + ptr = (char *)line; if(*ptr++ != '-') { if(p) @@ -3402,8 +3405,8 @@ getURL(struct arg *arg) * Perhaps Curl_resolv() isn't thread safe? */ /* - * On some C libraries (notably with FC3) you get a memory leak - * here in getaddrinfo(), see + * On some C libraries (notably with FC3, glibc-2.3.3-74) you get a + * memory leak * here in getaddrinfo(), see * https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=139559 */