]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
goto vs variable statement
authorMiek Gieben <miekg@NLnetLabs.nl>
Thu, 8 Sep 2005 11:49:18 +0000 (11:49 +0000)
committerMiek Gieben <miekg@NLnetLabs.nl>
Thu, 8 Sep 2005 11:49:18 +0000 (11:49 +0000)
str2host.c

index 6b114824cf8e22505fa7e64f51732567d892bab9..9df36bdb75ab6909e0f3c8d24337a12e02c5f535 100644 (file)
@@ -592,7 +592,7 @@ ldns_str2rdf_loc(ldns_rdf **rd, const char *str)
                s = strtod(my_str, &my_str);
        }
 
-       north:
+north:
        while (isblank(*my_str)) {
                my_str++;
        }
@@ -634,7 +634,7 @@ ldns_str2rdf_loc(ldns_rdf **rd, const char *str)
        if (isdigit(*my_str)) {
                m = (uint32_t) strtol(my_str, &my_str, 10);
        } else if (*my_str == 'E' || *my_str == 'W') {
-               goto easterness;
+               goto east;
        } else {
                return LDNS_STATUS_INVALID_STR;
        }
@@ -647,7 +647,7 @@ ldns_str2rdf_loc(ldns_rdf **rd, const char *str)
                s = strtod(my_str, &my_str);
        }
 
-       easterness:
+east:
        while (isblank(*my_str)) {
                my_str++;
        }