Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
29:7976500f47f9 | 30:ec9a17fef872 |
---|---|
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 |