diff lib-src/gnuserv.c @ 30:ec9a17fef872 r19-15b98

Import from CVS: tag r19-15b98
author cvs
date Mon, 13 Aug 2007 08:52:29 +0200
parents 376386a54a3c
children 131b0175ea99
line wrap: on
line diff
--- a/lib-src/gnuserv.c	Mon Aug 13 08:51:58 2007 +0200
+++ b/lib-src/gnuserv.c	Mon Aug 13 08:52:29 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 */