Mercurial > pidgin
comparison src/protocols/msn/servconn.c @ 12182:4ee61369c790
[gaim-migrate @ 14484]
Add a debug line for servconn read errors.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 21 Nov 2005 11:45:09 +0000 |
parents | a1aa681f1448 |
children | 4e7ba55a1db2 |
comparison
equal
deleted
inserted
replaced
12181:06368415c89c | 12182:4ee61369c790 |
---|---|
332 | 332 |
333 len = read(servconn->fd, buf, sizeof(buf) - 1); | 333 len = read(servconn->fd, buf, sizeof(buf) - 1); |
334 | 334 |
335 if (len <= 0) | 335 if (len <= 0) |
336 { | 336 { |
337 gaim_debug_error("msn", "servconn read error, len: %d\n", len); | |
337 msn_servconn_got_error(servconn, MSN_SERVCONN_ERROR_READ); | 338 msn_servconn_got_error(servconn, MSN_SERVCONN_ERROR_READ); |
338 | 339 |
339 return; | 340 return; |
340 } | 341 } |
341 | 342 |