Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
107:523141596bda | 108:360340f9fd5f |
---|---|
343 } | 343 } |
344 if (buf[0] != '\n') { | 344 if (buf[0] != '\n') { |
345 fprintf(stderr,"%s: garbage after result\n",progname); | 345 fprintf(stderr,"%s: garbage after result\n",progname); |
346 exit(1); | 346 exit(1); |
347 } | 347 } |
348 close(s); | 348 /* send the newline */ |
349 buf[1] = '\0'; | |
350 send_string(s,buf); | |
351 close(s); | |
349 | 352 |
350 } /* handle_response */ | 353 } /* handle_response */ |
351 #endif /* INTERNET_DOMAIN_SOCKETS || UNIX_DOMAIN_SOCKETS */ | 354 #endif /* INTERNET_DOMAIN_SOCKETS || UNIX_DOMAIN_SOCKETS */ |
352 | 355 |
353 | 356 |