]> granicus.if.org Git - python/commitdiff
#28067: Fixed a typo.
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>
Sat, 10 Sep 2016 20:08:26 +0000 (16:08 -0400)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>
Sat, 10 Sep 2016 20:08:26 +0000 (16:08 -0400)
Modules/_datetimemodule.c

index 99556c3fe7fe740fe9e01733ac39d8132e1f8af1..892772ffabaf549961ceca94590c528be915a5fa 100644 (file)
@@ -17,7 +17,7 @@ static struct tm *localtime_r(const time_t *timep, struct tm *result)
 }
 static struct tm *gmtime_r(const time_t *timep, struct tm *result)
 {
-    if (gmime_s(result, timep) == 0)
+    if (gmtime_s(result, timep) == 0)
         return result;
     return NULL;
 }