comparison src/neon/neon.c @ 3126:2d2a50196556

Backed out changeset 617cd51dfee5 This didn't work, and doesn't seem right.
author William Pitcock <nenolod@atheme.org>
date Wed, 06 May 2009 14:04:28 -0500
parents b74c1fb4212f
children f8686c591e49
comparison
equal deleted inserted replaced
3125:d4c3a48f1d92 3126:2d2a50196556
988 g_mutex_unlock(h->reader_status.mutex); 988 g_mutex_unlock(h->reader_status.mutex);
989 } 989 }
990 } 990 }
991 991
992 if (NULL == h->reader) { 992 if (NULL == h->reader) {
993 if (NEON_READER_EOF != h->reader_status.status && NEON_READER_ERROR != h->reader_status.status) { 993 if (NEON_READER_EOF != h->reader_status.status) {
994 /* 994 /*
995 * There is no reader thread yet. Read the first bytes from 995 * There is no reader thread yet. Read the first bytes from
996 * the network ourselves, and then fire up the reader thread 996 * the network ourselves, and then fire up the reader thread
997 * to keep the buffer filled up. 997 * to keep the buffer filled up.
998 */ 998 */