summaryrefslogtreecommitdiffstats
path: root/gatchat/gatchat.c
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:23 -0800
commit2876e1aa64dfcdcb17248cf41b41512977ebcbc2 (patch)
treec842e58a5ff3834bf970bac8dd4c5deda294c47c /gatchat/gatchat.c
parent2b2a410deb7953f095999e4ade3eb154f0f9f58c (diff)
downloadofono-2876e1aa64dfcdcb17248cf41b41512977ebcbc2.tar.bz2
Unifiy all GAtChat error labels
Diffstat (limited to 'gatchat/gatchat.c')
-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;