# HG changeset patch # User Thomas Klausner # Date 1624388833 -7200 # Node ID e9ba8c538734f98cf2ada9a61fde8c451ad2c061 # Parent 6219359a36a92742aa70e0f6d8fe8fef665a354e Fix sign error in time zone offset printing Coverity CID 349432 diff -r 6219359a36a9 -r e9ba8c538734 libfdproto/dictionary_functions.c --- a/libfdproto/dictionary_functions.c Mon Jun 21 19:08:18 2021 +0800 +++ b/libfdproto/dictionary_functions.c Tue Jun 22 21:07:13 2021 +0200 @@ -314,7 +314,7 @@ int offs_hours, offs_minutes, sgn = 1; if (offset < 0) { offset = -offset; - sgn = 1; + sgn = -1; } offs_hours = (int)(offset/3600); offs_minutes = (offset%3600)/60;