git.samba.org
/
jelmer
/
loudmouth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee34eed
)
Readd a check that was missed when fixing LM-71.
author
Mikael Hallendal
<micke@imendio.com>
Mon, 12 Feb 2007 15:35:38 +0000
(16:35 +0100)
committer
Mikael Hallendal
<micke@imendio.com>
Mon, 12 Feb 2007 15:35:38 +0000
(16:35 +0100)
loudmouth/lm-connection.c
patch
|
blob
|
history
diff --git
a/loudmouth/lm-connection.c
b/loudmouth/lm-connection.c
index 69e85e8fd677d30f78beb9ec2b6bed70642b3a50..f8f77ea7fee4e50b956abf078800bdccc1015661 100644
(file)
--- a/
loudmouth/lm-connection.c
+++ b/
loudmouth/lm-connection.c
@@
-1134,6
+1134,10
@@
connection_in_event (GIOChannel *source,
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",