[Openvas-commits] r11721 - in trunk/openvas-manager: . src
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Sep 29 18:50:20 CEST 2011
Author: mattm
Date: 2011-09-29 18:50:14 +0200 (Thu, 29 Sep 2011)
New Revision: 11721
Modified:
trunk/openvas-manager/ChangeLog
trunk/openvas-manager/src/omp.c
Log:
* src/omp.c (omp_xml_handle_end_element): Turn off last change because
some of the dates in the database are specific to current timezone.
Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog 2011-09-29 16:38:11 UTC (rev 11720)
+++ trunk/openvas-manager/ChangeLog 2011-09-29 16:50:14 UTC (rev 11721)
@@ -1,5 +1,10 @@
2011-09-29 Matthew Mundell <matthew.mundell at greenbone.net>
+ * src/omp.c (omp_xml_handle_end_element): Turn off last change because
+ some of the dates in the database are specific to current timezone.
+
+2011-09-29 Matthew Mundell <matthew.mundell at greenbone.net>
+
* src/omp.c (omp_xml_handle_end_element): Set the timezone to the user's
timezone when authentication succeeds, so that all commands use it.
Modified: trunk/openvas-manager/src/omp.c
===================================================================
--- trunk/openvas-manager/src/omp.c 2011-09-29 16:38:11 UTC (rev 11720)
+++ trunk/openvas-manager/src/omp.c 2011-09-29 16:50:14 UTC (rev 11721)
@@ -9019,6 +9019,7 @@
? current_credentials.timezone
: "UTC";
+#if 0
if (setenv ("TZ", timezone, 1) == -1)
{
free_credentials (¤t_credentials);
@@ -9028,6 +9029,7 @@
break;
}
tzset ();
+#endif
SENDF_TO_CLIENT_OR_FAIL
("<authenticate_response"
More information about the Openvas-commits
mailing list