Mercurial > hg > xemacs-beta
comparison lib-src/gnuserv.c @ 70:131b0175ea99 r20-0b30
Import from CVS: tag r20-0b30
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:02:59 +0200 |
parents | ec9a17fef872 |
children | 360340f9fd5f |
comparison
equal
deleted
inserted
replaced
69:804d1389bcd6 | 70:131b0175ea99 |
---|---|
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 /* send the newline */ | 348 close(s); |
349 buf[1] = '\0'; | |
350 send_string(s,buf); | |
351 close(s); | |
352 | 349 |
353 } /* handle_response */ | 350 } /* handle_response */ |
354 #endif /* INTERNET_DOMAIN_SOCKETS || UNIX_DOMAIN_SOCKETS */ | 351 #endif /* INTERNET_DOMAIN_SOCKETS || UNIX_DOMAIN_SOCKETS */ |
355 | 352 |
356 | 353 |