summaryrefslogtreecommitdiffstats
path: root/gatchat/gatchat.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-10-21 20:34:13 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-10-21 20:34:13 +0200
commit79e23355a4fc327d19b7077930852617de8a266a (patch)
tree9f597076461a9fdafcce430a8512f585208b954e /gatchat/gatchat.c
parentcca078202918e4c10890919b85928917fac2483a (diff)
downloadofono-79e23355a4fc327d19b7077930852617de8a266a.tar.bz2
gatchat: Fix missing return value for g_at_chat_set_slave
Diffstat (limited to 'gatchat/gatchat.c')
-rw-r--r--gatchat/gatchat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/gatchat.c b/gatchat/gatchat.c
index f3bd3ec6..218f5921 100644
--- a/gatchat/gatchat.c
+++ b/gatchat/gatchat.c
@@ -1314,7 +1314,7 @@ GAtChat *g_at_chat_clone(GAtChat *clone)
GAtChat *g_at_chat_set_slave(GAtChat *chat, GAtChat *slave)
{
if (chat == NULL)
- return;
+ return NULL;
if (chat->slave != NULL)
g_at_chat_unref(chat->slave);