Mercurial > hg > xemacs-beta
comparison lib-src/gnuslib.c @ 442:abe6d1db359e r21-2-36
Import from CVS: tag r21-2-36
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:35:02 +0200 |
parents | 8de8e3f6228a |
children | c33ae14dd6d0 |
comparison
equal
deleted
inserted
replaced
441:72a7cfa4a488 | 442:abe6d1db359e |
---|---|
192 #if defined(INTERNET_DOMAIN_SOCKETS) || defined(UNIX_DOMAIN_SOCKETS) | 192 #if defined(INTERNET_DOMAIN_SOCKETS) || defined(UNIX_DOMAIN_SOCKETS) |
193 /* | 193 /* |
194 send_string -- send string to socket. | 194 send_string -- send string to socket. |
195 */ | 195 */ |
196 void | 196 void |
197 send_string (int s, CONST char *msg) | 197 send_string (int s, const char *msg) |
198 { | 198 { |
199 #if 0 | 199 #if 0 |
200 if (send(s,msg,strlen(msg),0) < 0) { | 200 if (send(s,msg,strlen(msg),0) < 0) { |
201 perror(progname); | 201 perror(progname); |
202 fprintf(stderr,"%s: unable to send\n",progname); | 202 fprintf(stderr,"%s: unable to send\n",progname); |