author | Mikael Hallendal <micke@imendio.com> |
Sat, 24 Feb 2007 03:26:02 +0100 | |
changeset 229 | 626a590fc48a |
parent 228 | 26b289765524 (current diff) |
parent 204 | cc608a168308 (diff) |
child 233 | 371773d2fce9 |
--- a/loudmouth/lm-connection.c Sat Feb 24 03:22:53 2007 +0100 +++ b/loudmouth/lm-connection.c Sat Feb 24 03:26:02 2007 +0100 @@ -1135,6 +1135,10 @@ gsize bytes_read; gboolean hangup; + if (connection->io_channel == NULL) { + return FALSE; + } + while (connection_read_incoming (connection, buf, IN_BUFFER_SIZE, &bytes_read, &hangup)) { g_log (LM_LOG_DOMAIN, LM_LOG_LEVEL_NET, "\nRECV [%d]:\n",