diff lib-src/gnuserv.c @ 108:360340f9fd5f r20-1b6

Import from CVS: tag r20-1b6
author cvs
date Mon, 13 Aug 2007 09:18:39 +0200
parents 131b0175ea99
children 538048ae2ab8
line wrap: on
line diff
--- a/lib-src/gnuserv.c	Mon Aug 13 09:17:27 2007 +0200
+++ b/lib-src/gnuserv.c	Mon Aug 13 09:18:39 2007 +0200
@@ -345,7 +345,10 @@
     fprintf(stderr,"%s: garbage after result\n",progname);
     exit(1);
   }
-  close(s);
+  /* send the newline */
+  buf[1] = '\0';
+  send_string(s,buf);
+  close(s); 
 
 } /* handle_response */
 #endif /* INTERNET_DOMAIN_SOCKETS || UNIX_DOMAIN_SOCKETS */