diff --git a/src/ChangeLog b/src/ChangeLog index 5bffb732..ed96827b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2000-11-20 Hrvoje Niksic + + * http.c (check_end): Constify. + 2000-11-20 Hrvoje Niksic * http.c (http_loop): If username and password are known, try the diff --git a/src/http.c b/src/http.c index b8c2a63c..4e14b3d6 100644 --- a/src/http.c +++ b/src/http.c @@ -1615,7 +1615,7 @@ mktime_from_utc (struct tm *t) "^ *(GMT|[+-][0-9]|$)", 0 otherwise. P being NULL (a valid result of strptime()) is considered a failure and 0 is returned. */ static int -check_end (char *p) +check_end (const char *p) { if (!p) return 0;