Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-03-12 18:54:49 +0300
committerCorinna Vinschen <corinna@vinschen.de>2009-03-12 18:54:49 +0300
commit2e0b52c9d8ead058f84b2e749d77ecdf6c0559cb (patch)
treee062b7a72c9304ab5c89f75ccdf7d4c75f3df542 /winsup/cygwin/net.cc
parentd75c0f75bc055d1644243969dc02ac1b1c7a0615 (diff)
* gethostby_helper: Fix typos in DEBUGGING case.
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r--winsup/cygwin/net.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc
index 132d639bc..c251dea26 100644
--- a/winsup/cygwin/net.cc
+++ b/winsup/cygwin/net.cc
@@ -1057,7 +1057,7 @@ gethostby_helper (const char *name, const int af, const int type,
complen = dn_expand (msg, eomsg, curptr->name (), string_ptr, string_size);
#ifdef DEBUGGING
if (complen != curptr->complen)
- go to debugging;
+ goto debugging;
#endif
ret->h_aliases[alias_count++] = string_ptr;
namelen1 = curptr->namelen1;
@@ -1072,7 +1072,7 @@ gethostby_helper (const char *name, const int af, const int type,
complen = dn_expand (msg, eomsg, curptr->name(), string_ptr, string_size);
#ifdef DEBUGGING
if (complen != curptr->complen)
- go to debugging;
+ goto debugging;
#endif
ret->h_name = string_ptr;
namelen1 = curptr->namelen1;
@@ -1090,12 +1090,12 @@ gethostby_helper (const char *name, const int af, const int type,
}
#ifdef DEBUGGING
/* Should not get here */
- go to debugging;
+ goto debugging;
#endif
}
#ifdef DEBUGGING
if (string_size < 0)
- go to debugging;
+ goto debugging;
#endif
free (msg);