Unifiy all GAtChat error labels
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 24 Dec 2009 15:06:23 +0000 (07:06 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 24 Dec 2009 15:06:51 +0000 (07:06 -0800)
gatchat/gatchat.c

index d090766..7c8f35a 100644 (file)
@@ -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;