dirmngr/src (ChangeLog http.c http.h)

cvs user wk cvs at cvs.gnupg.org
Thu Mar 17 11:32:34 CET 2005


    Date: Thursday, March 17, 2005 @ 11:46:06
  Author: wk
    Path: /cvs/dirmngr/dirmngr/src

Modified: ChangeLog http.c http.h

* http.c (parse_response): Changed MAXLEN and LEN to size-t to
match the requirement of read_line.
* http.h (http_context_s): Ditto for BUFFER_SIZE.


-----------+
 ChangeLog |    6 ++++++
 http.c    |    2 +-
 http.h    |    2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)


Index: dirmngr/src/ChangeLog
diff -u dirmngr/src/ChangeLog:1.44 dirmngr/src/ChangeLog:1.45
--- dirmngr/src/ChangeLog:1.44	Tue Mar 15 18:42:30 2005
+++ dirmngr/src/ChangeLog	Thu Mar 17 11:46:05 2005
@@ -1,3 +1,9 @@
+2005-03-17  Werner Koch  <wk at g10code.com>
+
+	* http.c (parse_response): Changed MAXLEN and LEN to size-t to
+	match the requirement of read_line.
+	* http.h (http_context_s): Ditto for BUFFER_SIZE.
+
 2005-03-15  Werner Koch  <wk at g10code.com>
 
 	* ldap.c: Included time.h.  Reported by Bernhard Herzog.
Index: dirmngr/src/http.c
diff -u dirmngr/src/http.c:1.7 dirmngr/src/http.c:1.8
--- dirmngr/src/http.c:1.7	Mon Nov 22 22:30:50 2004
+++ dirmngr/src/http.c	Thu Mar 17 11:46:05 2005
@@ -666,7 +666,7 @@
 parse_response (http_t hd)
 {
   unsigned char *line, *p, *p2;
-  unsigned maxlen, len;
+  size_t maxlen, len;
 
   /* Wait for the status line. */
   do
Index: dirmngr/src/http.h
diff -u dirmngr/src/http.h:1.2 dirmngr/src/http.h:1.3
--- dirmngr/src/http.h:1.2	Mon Nov 22 22:30:50 2004
+++ dirmngr/src/http.h	Thu Mar 17 11:46:05 2005
@@ -66,7 +66,7 @@
   parsed_uri_t uri;
   http_req_t req_type;
   unsigned char *buffer;     /* Line buffer. */
-  unsigned buffer_size;
+  size_t buffer_size;
   unsigned int flags;
 };
 typedef struct http_context_s *http_t;




More information about the Gnupg-commits mailing list