X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=strptime.h;h=b1d34d44523371dfe20d7c1161563a49c0bf22ea;hp=63ffe579ada162a4fab10538cf7218018e4c1f19;hb=23445442f4bf0aa0bcf6e35df09daf8ef0d69d99;hpb=7df7fc1c547ddc6cddf161fab52358f7499cc9b1 diff --git a/strptime.h b/strptime.h index 63ffe579..b1d34d44 100644 --- a/strptime.h +++ b/strptime.h @@ -297,7 +297,7 @@ strptime_internal (rp, fmt, tm, decided, era_cnt) } /* Any character but `%' must be matched by the same character - in the iput string. */ + in the input string. */ if (*fmt != '%') { match_char (*fmt++, *rp++); @@ -535,11 +535,12 @@ strptime_internal (rp, fmt, tm, decided, era_cnt) *decided = raw; } #endif - if (!match_string (HERE_AM_STR, rp)) + if (!match_string (HERE_AM_STR, rp)) { if (match_string (HERE_PM_STR, rp)) is_pm = 1; else return NULL; + } break; case 'r': #ifdef _NL_CURRENT