diff options
Diffstat (limited to 'strftime.c')
-rw-r--r-- | strftime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strftime.c b/strftime.c index a426a455bd..f532bb0ac6 100644 --- a/strftime.c +++ b/strftime.c @@ -851,7 +851,7 @@ rb_strftime_with_timespec(VALUE ftime, const char *format, size_t format_len, } } } - if (s >= endp || format != format_end) { + if (format != format_end) { return 0; } len = s - start; |