comparison libpurple/account.c @ 23398:47b709962aab

Only check for EAGAIN if read returned less than 0. This fixes a bug where the recv callback function would get called continuously if the server closed our connection and errno happened to be set to EAGAIN.
author Mark Doliner <mark@kingant.net>
date Mon, 30 Jun 2008 22:58:18 +0000
parents 7097bbac4234
children d1797f30960f
comparison
equal deleted inserted replaced
23397:0119f73a76da 23398:47b709962aab