summaryrefslogtreecommitdiff
path: root/gatchat
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-12-24 07:06:23 -0800
committerMarcel Holtmann <marcel@holtmann.org>2009-12-24 07:06:51 -0800
commit87e6b29bf24c381c2f3ede4227d445305f496f56 (patch)
tree0a2447ff689b698c35698150c77a7c4e58d8df6c /gatchat
parentda5d569557a805dd3f4cc4c0d4cd582481b4c7cd (diff)
downloadconnman-87e6b29bf24c381c2f3ede4227d445305f496f56.tar.gz
connman-87e6b29bf24c381c2f3ede4227d445305f496f56.tar.bz2
connman-87e6b29bf24c381c2f3ede4227d445305f496f56.zip
Unifiy all GAtChat error labels
Diffstat (limited to 'gatchat')
-rw-r--r--gatchat/gatchat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gatchat/gatchat.c b/gatchat/gatchat.c
index d0907665..7c8f35a4 100644
--- a/gatchat/gatchat.c
+++ b/gatchat/gatchat.c
@@ -555,7 +555,7 @@ static void have_pdu(GAtChat *p, char *pdu)
gboolean listing_pdu = FALSE;
if (!pdu)
- goto err;
+ goto error;
result.lines = g_slist_prepend(NULL, p->pdu_notify);
result.final_or_pdu = pdu;
@@ -580,7 +580,7 @@ static void have_pdu(GAtChat *p, char *pdu)
g_slist_free(result.lines);
-err:
+error:
g_free(p->pdu_notify);
p->pdu_notify = NULL;