File openvas-client-g_strdup_printf-2.0.4.patch of Package openvas-client
Index: nessus/prefs_dialog/prefs_context.c
===================================================================
--- nessus/prefs_dialog/prefs_context.c 2009-03-13 13:09:57.000000000 +0100
+++ nessus/prefs_dialog/prefs_context.c 2009-07-01 11:37:07.000000000 +0200
@@ -379,7 +379,7 @@
{
case CONTEXT_GLOBAL:
prefs_context_update_notebook(FALSE, TRUE, FALSE);
- text = g_strdup_printf(prefs_get_string(context, "name"));
+ text = g_strdup(prefs_get_string(context, "name"));
break;
case CONTEXT_TASK:
prefs_context_update_notebook(TRUE, FALSE, FALSE);