[Openvas-commits] r11708 - in trunk/gsa: . src
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Sep 28 18:40:45 CEST 2011
Author: mattm
Date: 2011-09-28 18:40:42 +0200 (Wed, 28 Sep 2011)
New Revision: 11708
Modified:
trunk/gsa/ChangeLog
trunk/gsa/src/gsad.c
Log:
* src/gsad.c (exec_omp_post): Initialise role and timezone in credentials.
Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog 2011-09-28 10:51:43 UTC (rev 11707)
+++ trunk/gsa/ChangeLog 2011-09-28 16:40:42 UTC (rev 11708)
@@ -1,3 +1,7 @@
+2011-09-28 Matthew Mundell <matthew.mundell at greenbone.net>
+
+ * src/gsad.c (exec_omp_post): Initialise role and timezone in credentials.
+
2011-09-27 Matthew Mundell <matthew.mundell at greenbone.net>
Add a My Settings page.
Modified: trunk/gsa/src/gsad.c
===================================================================
--- trunk/gsa/src/gsad.c 2011-09-28 10:51:43 UTC (rev 11707)
+++ trunk/gsa/src/gsad.c 2011-09-28 16:40:42 UTC (rev 11708)
@@ -1251,6 +1251,8 @@
assert (user->token);
credentials->username = strdup (user->username);
credentials->password = strdup (user->password);
+ credentials->role = user->role ? strdup (user->role) : NULL;
+ credentials->timezone = user->timezone ? strdup (user->timezone) : NULL;
credentials->token = strdup (user->token);
/* The caller of a POST is usually the caller of the page that the POST form
* was on. */
More information about the Openvas-commits
mailing list