From 2e0b52c9d8ead058f84b2e749d77ecdf6c0559cb Mon Sep 17 00:00:00 2001
From: Corinna Vinschen <corinna@vinschen.de>
Date: Thu, 12 Mar 2009 15:54:49 +0000
Subject: [PATCH] 	* gethostby_helper: Fix typos in DEBUGGING case.

---
 winsup/cygwin/ChangeLog | 4 ++++
 winsup/cygwin/net.cc    | 8 ++++----
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 53af7f8d5..d702d3901 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2009-03-12  Brian Ford <Brian.Ford@FlightSafety.com>
+
+	* gethostby_helper: Fix typos in DEBUGGING case.
+
 2009-03-11  Corinna Vinschen  <corinna@vinschen.de>
 
 	* cygwin.din: Export wcscasecmp, wcsncasecmp.
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);