From: Miek Gieben Date: Thu, 8 Sep 2005 11:49:18 +0000 (+0000) Subject: goto vs variable statement X-Git-Tag: release-1.0.0~189 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9176d7c6839dd63e8e9eadaaa3131a3392a3baac;p=thirdparty%2Fldns.git goto vs variable statement --- diff --git a/str2host.c b/str2host.c index 6b114824..9df36bdb 100644 --- a/str2host.c +++ b/str2host.c @@ -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++; }