X-Git-Url: http://www.privoxy.org/gitweb/misc.html?a=blobdiff_plain;f=strptime.h;h=b1d34d44523371dfe20d7c1161563a49c0bf22ea;hb=7b9d694194f596e701f04b43b7c34df239f22fb2;hp=63ffe579ada162a4fab10538cf7218018e4c1f19;hpb=7df7fc1c547ddc6cddf161fab52358f7499cc9b1;p=privoxy.git
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