[xiph-cvs] cvs commit: httpp httpp.c
Jack Moffitt
jack at xiph.org
Fri Oct 19 21:41:55 PDT 2001
jack 01/10/19 21:41:55
Modified: . httpp.c
Log:
Win32 compatibility courtesy of Oddsock.
Revision Changes Path
1.2 +9 -4 httpp/httpp.c
Index: httpp.c
===================================================================
RCS file: /usr/local/cvsroot/httpp/httpp.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- httpp.c 2001/09/10 02:28:47 1.1
+++ httpp.c 2001/10/20 04:41:54 1.2
@@ -11,6 +11,10 @@
#include "avl.h"
#include "httpp.h"
+#ifdef _WIN32
+#define strcasecmp stricmp
+#endif
+
/* internal functions */
/* misc */
@@ -47,10 +51,11 @@
char *line[32]; /* limited to 32 lines, should be more than enough */
int i, l, retlen;
int lines;
- char *req_type;
- char *uri;
- char *version;
- char *name, *value;
+ char *req_type = NULL;
+ char *uri = NULL;
+ char *version = NULL;
+ char *name = NULL;
+ char *value = NULL;
int whitespace, where;
int slen;
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list