summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a30a8d4)
raw | patch | inline | side by side (parent: a30a8d4)
author | Ed Ravin <commitme@eravin.users.panix.com> | |
Sat, 6 May 2017 02:53:59 +0000 (22:53 -0400) | ||
committer | Ed Ravin <commitme@eravin.users.panix.com> | |
Sat, 6 May 2017 02:53:59 +0000 (22:53 -0400) |
src/bind.c | patch | blob | history |
diff --git a/src/bind.c b/src/bind.c
index 38761775fa70dac5badbd53e8c859e8594de02ad..9d407d1a25f61ab5ed7b2ff031805084e5c7561b 100644 (file)
--- a/src/bind.c
+++ b/src/bind.c
return (-1);
}
- *ret_value = mktime(&tm);
+ tzset();
+ *ret_value = mktime(&tm) - timezone; /* fix strptime() misinterpretation */
xmlXPathFreeObject(xpathObj);
return (0);