From fb42069e5170f9f2e3d3fafc5ee84fdb1cf66eb2 Mon Sep 17 00:00:00 2001 From: hniksic Date: Mon, 20 Nov 2000 02:25:28 -0800 Subject: [PATCH] [svn] Constify check_end(). --- src/ChangeLog | 4 ++++ src/http.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; -- 2.39.2