Menu

#6 fix compile warnings in http_fetcher.c

open
nobody
None
5
2006-08-26
2006-08-26
No

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)
{

Discussion

  • Bas Mevissen

    Bas Mevissen - 2006-08-26

    Logged In: YES
    user_id=1086589

    First version had accidentally tabs replaced by spaces.
    Deleted and replaced.

     
  • Bas Mevissen

    Bas Mevissen - 2006-08-26

    2nd version...

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.