comparison pidgin/gtkmenutray.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 13a9b56f83b0
children 824e346c5713
comparison
equal deleted inserted replaced
23397:0119f73a76da 23398:47b709962aab