comparison common-session.c @ 107:d3eb1fa8484e

Nasty.
author Matt Johnston <matt@ucc.asn.au>
date Tue, 24 Aug 2004 18:12:18 +0000
parents 8aeac62a968f
children 10f4d3319780
comparison
equal deleted inserted replaced
106:e13f8a712a1c 107:d3eb1fa8484e
233 233
234 /* We allow up to 9 lines before the actual version string, to 234 /* We allow up to 9 lines before the actual version string, to
235 * account for wrappers/cruft etc. According to the spec only the client 235 * account for wrappers/cruft etc. According to the spec only the client
236 * needs to handle this, but no harm in letting the server handle it too */ 236 * needs to handle this, but no harm in letting the server handle it too */
237 for (i = 0; i < 10; i++) { 237 for (i = 0; i < 10; i++) {
238 len = ident_readln(ses.sock, linebuf, sizzeof(linebuf)); 238 len = ident_readln(ses.sock, linebuf, sizeof(linebuf));
239 239
240 if (len < 0 && errno != EINTR) { 240 if (len < 0 && errno != EINTR) {
241 /* It failed */ 241 /* It failed */
242 break; 242 break;
243 } 243 }