fix compile warnings in http_fetcher.c
Brought to you by:
lhanson
Please apply the following diff:
(also attached to this report)
diff -urNd a/http_fetcher-1.1.0/src/http_fetcher.c
b/http_fetcher-1.1.0/src/http_fetcher.c
--- a/http_fetcher-1.1.0/src/http_fetcher.c
2004-03-08 22:06:17.000000000 +0100
+++ b/http_fetcher-1.1.0/src/http_fetcher.c
2006-08-26 22:34:45.000000000 +0200
@@ -18,7 +18,9 @@
*/
#include <stdlib.h>
+#define __USE_ISOC99
#include <stdio.h>
+#undef __USE_ISOC99
#include <string.h>
#include <strings.h>
#include <ctype.h>
@@ -611,7 +613,7 @@
herror(string);
else if(errorSource == FETCHER_ERROR)
{
- char *stringIndex;
+ const char *stringIndex;
if(strstr(http_errlist[http_errno],
"%d") == NULL)
{
Logged In: YES
user_id=1086589
First version had accidentally tabs replaced by spaces.
Deleted and replaced.
2nd version...