projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17831db
)
-seems to only work on GNU//Linux like this
author
Christian Grothoff
<christian@grothoff.org>
Sat, 30 Jun 2012 11:51:06 +0000
(11:51 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sat, 30 Jun 2012 11:51:06 +0000
(11:51 +0000)
src/util/strings.c
patch
|
blob
|
history
diff --git
a/src/util/strings.c
b/src/util/strings.c
index 49239431fee9d07207f38dfbbdf86e7aac53f06f..a574733624e5b0525f7a47943a6b2cf9f730c5f6 100644
(file)
--- a/
src/util/strings.c
+++ b/
src/util/strings.c
@@
-351,7
+351,9
@@
GNUNET_STRINGS_fancy_time_to_absolute (const char *fancy_time,
return GNUNET_SYSERR;
t = mktime (&tv);
atime->abs_value = (uint64_t) ((uint64_t) t * 1000LL);
+#if LINUX
atime->abs_value -= 1000LL * timezone;
+#endif
return GNUNET_OK;
}