fix return for control_socket
authorDieter Plaetinck <dieter@plaetinck.be>
Sat, 16 May 2009 07:51:46 +0000 (09:51 +0200)
committerDieter Plaetinck <dieter@plaetinck.be>
Sat, 16 May 2009 07:51:46 +0000 (09:51 +0200)
uzbl.c
uzbl.h

diff --git a/uzbl.c b/uzbl.c
index 7997753..5edc5e1 100644 (file)
--- a/uzbl.c
+++ b/uzbl.c
@@ -1101,7 +1101,7 @@ create_stdin () {
     }
 }
 
-static void
+static gboolean
 control_socket(GIOChannel *chan) {
     struct sockaddr_un remote;
     char buffer[512], *ctl_line;
@@ -1152,7 +1152,7 @@ control_socket(GIOChannel *chan) {
 */
 
     g_free(ctl_line);
-    return;
+    return TRUE;
 }
 
 static gchar*
diff --git a/uzbl.h b/uzbl.h
index 6f38052..e23fa69 100644 (file)
--- a/uzbl.h
+++ b/uzbl.h
@@ -279,7 +279,7 @@ create_stdin();
 static gchar*
 init_socket(gchar *dir);
 
-static void
+static gboolean
 control_socket(GIOChannel *chan);
 
 static void