git.samba.org
/
jelmer
/
loudmouth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
27add11
)
Merge branch 'master' of kenny.imendio.com:/var/git/public/projects/loudmouth into...
author
Mikael Hallendal
<micke@imendio.com>
Sat, 24 Feb 2007 02:26:02 +0000
(
03:26
+0100)
committer
Mikael Hallendal
<micke@imendio.com>
Sat, 24 Feb 2007 02:26:02 +0000
(
03:26
+0100)
loudmouth/lm-connection.c
patch
|
blob
|
history
diff --git
a/loudmouth/lm-connection.c
b/loudmouth/lm-connection.c
index 0a1e387548eb7cc44bbed017f28588de59ee0d44..e0bd53d6323a9cb3025dd277a74d056065aa008b 100644
(file)
--- a/
loudmouth/lm-connection.c
+++ b/
loudmouth/lm-connection.c
@@
-1135,6
+1135,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",