From 87e6b29bf24c381c2f3ede4227d445305f496f56 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 24 Dec 2009 07:06:23 -0800 Subject: [PATCH] Unifiy all GAtChat error labels --- gatchat/gatchat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gatchat/gatchat.c b/gatchat/gatchat.c index d090766..7c8f35a 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; -- 2.7.4