Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2002 15:11:17 +0900
From:      Jun Kuriyama <kuriyama@imgsrc.co.jp>
To:        des@FreeBSD.org
Cc:        Current <freebsd-current@FreeBSD.org>
Subject:   libfetch/http.c with -Werror
Message-ID:  <7mk7k4xvga.wl@black.imgsrc.co.jp>

next in thread | raw e-mail | index | archive | help

It seems _http_growbuf() should return int at the end of function?

Index: http.c
===================================================================
RCS file: /home/ncvs/src/lib/libfetch/http.c,v
retrieving revision 1.61
diff -u -r1.61 http.c
--- http.c	3 Oct 2002 10:42:19 -0000	1.61
+++ http.c	27 Oct 2002 06:07:54 -0000
@@ -179,6 +179,7 @@
 		return (-1);
 	io->buf = tmp;
 	io->bufsize = len;
+	return (0);
 }
 
 /*


-- 
Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // FreeBSD Project

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7mk7k4xvga.wl>