Mercurial > hg > xemacs-beta
comparison lib-src/gnuserv.c @ 424:11054d720c21 r21-2-20
Import from CVS: tag r21-2-20
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:26:11 +0200 |
parents | 697ef44129c6 |
children |
comparison
equal
deleted
inserted
replaced
423:28d9c139be4c | 424:11054d720c21 |
---|---|
321 handle_response (void) | 321 handle_response (void) |
322 { | 322 { |
323 char buf[GSERV_BUFSZ+1]; | 323 char buf[GSERV_BUFSZ+1]; |
324 int offset=0; | 324 int offset=0; |
325 int s; | 325 int s; |
326 int len; | 326 int len = 0; |
327 int result_len; | 327 int result_len; |
328 | 328 |
329 /* read in "n/m:" (n=client fd, m=message length) */ | 329 /* read in "n/m:" (n=client fd, m=message length) */ |
330 while (offset < GSERV_BUFSZ && | 330 while (offset < GSERV_BUFSZ && |
331 ((len = read(0,buf+offset,1)) > 0) && | 331 ((len = read(0,buf+offset,1)) > 0) && |