[glib] One more dubious return
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] One more dubious return
- Date: Sun, 11 Jul 2010 00:04:48 +0000 (UTC)
commit 3dca4ce434f30a5c72f773c5c0437d4ac92413ab
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jul 10 19:16:27 2010 -0400
One more dubious return
gio/gsocketlistener.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gsocketlistener.c b/gio/gsocketlistener.c
index 62ec2fc..3386091 100644
--- a/gio/gsocketlistener.c
+++ b/gio/gsocketlistener.c
@@ -790,7 +790,7 @@ g_socket_listener_accept_socket_finish (GSocketListener *listener,
GSocket *socket;
GSimpleAsyncResult *simple;
- g_return_val_if_fail (G_IS_SOCKET_LISTENER (listener), FALSE);
+ g_return_val_if_fail (G_IS_SOCKET_LISTENER (listener), NULL);
simple = G_SIMPLE_ASYNC_RESULT (result);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]