Skip to content
Snippets Groups Projects
Commit adbe3eef authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

and moved back the month array to a static one since the ftp code won't need

it anymore
parent 33f69c05
No related branches found
No related tags found
No related merge requests found
......@@ -84,15 +84,13 @@
#include <curl/curl.h>
#include "parsedate.h"
static time_t Curl_parsedate(const char *date);
static const char *wkday[] = {"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"};
static const char *weekday[] = { "Monday", "Tuesday", "Wednesday", "Thursday",
"Friday", "Saturday", "Sunday" };
const char *Curl_month[]= { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul",
"Aug", "Sep", "Oct", "Nov", "Dec" };
static const char *month[]= { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul",
"Aug", "Sep", "Oct", "Nov", "Dec" };
struct tzinfo {
const char *name;
......@@ -177,7 +175,7 @@ static int checkmonth(char *check)
const char **what;
bool found= FALSE;
what = &Curl_month[0];
what = &month[0];
for(i=0; i<12; i++) {
if(curl_strequal(check, what[0])) {
found=TRUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment