]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix build on Solaris
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 29 Apr 2018 20:18:48 +0000 (21:18 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 29 Apr 2018 20:18:48 +0000 (21:18 +0100)
Issue: #2203
Closes: #2203
src/libutil/util.c

index 6957c25bf6ddf5093a1e310295bd4ecb0e2899d8..29c12ca2f080946e6f61c591ee3e0642d6a3f889 100644 (file)
@@ -2766,8 +2766,8 @@ rspamd_gmtime (gint64 ts, struct tm *dest)
        dest->tm_sec = remsecs % 60;
 #if !defined(__sun)
        dest->tm_gmtoff = 0;
-#endif
        dest->tm_zone = "GMT";
+#endif
 }
 
 void