--- firestarter.c.orig 2003-02-10 15:21:45.000000000 -0800
+++ firestarter.c 2003-02-10 15:20:25.000000000 -0800
@@ -58,6 +58,7 @@
stop_firewall (void)
{
gint retval;
+ gchar *error;
gchar *sbin;
gchar *command = NULL;
@@ -86,7 +87,7 @@
} else {
retval = WEXITSTATUS (retval);
- gchar *error = g_strdup (_("Failed to stop the firewall\n\n"));
+ error = g_strdup (_("Failed to stop the firewall\n\n"));
if (!CONSOLE)
error = g_strconcat ("", error, "", NULL);
@@ -112,6 +113,7 @@
start_firewall (void)
{
gint retval;
+ gchar *error;
gchar *command = g_strjoin (NULL, "/bin/sh ",
FIRESTARTER_RULES_DIR "/firestarter/firewall.sh",
NULL);
@@ -126,7 +128,7 @@
} else {
retval = WEXITSTATUS (retval);
- gchar *error = g_strdup (_("Failed to start the firewall\n\n"));
+ error = g_strdup (_("Failed to start the firewall\n\n"));
if (!CONSOLE)
error = g_strconcat ("", error, "", NULL);
@@ -165,6 +167,7 @@
{
gint retval;
gchar *sbin;
+ gchar *error;
gchar *command;
if (!CONSOLE) {
@@ -191,7 +194,7 @@
} else {
retval = WEXITSTATUS (retval);
- gchar *error = g_strdup (_("Failed to enter halted firewall mode\n\n"));
+ error = g_strdup (_("Failed to enter halted firewall mode\n\n"));
if (!CONSOLE)
error = g_strconcat ("", error, "", NULL);