aboutsummaryrefslogtreecommitdiff
path: root/lib/parsedate.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parsedate.c')
-rw-r--r--lib/parsedate.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/parsedate.c b/lib/parsedate.c
index 78cc96fe2..d1d8d5837 100644
--- a/lib/parsedate.c
+++ b/lib/parsedate.c
@@ -84,8 +84,6 @@
#include <curl/curl.h>
-static time_t parsedate(const char *date);
-
const char * const Curl_wkday[] =
{"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"};
static const char * const weekday[] =
@@ -248,7 +246,7 @@ static time_t parsedate(const char *date)
/* a name coming up */
char buf[32]="";
size_t len;
- sscanf(date, "%31[A-Za-z]", buf);
+ sscanf(date, "%31[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]", buf);
len = strlen(buf);
if(wdaynum == -1) {