git://git.jankratochvil.net
/
udpgate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8937b8b
)
Fixed g_source_attach() error checking.
author
short
<>
Fri, 14 May 2004 06:54:34 +0000
(06:54 +0000)
committer
short
<>
Fri, 14 May 2004 06:54:34 +0000
(06:54 +0000)
src/network.c
patch
|
blob
|
history
diff --git
a/src/network.c
b/src/network.c
index
39d8f8f
..
c42fab9
100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-321,7
+321,7
@@
static gboolean sock_gsource_new(void)
sock_source_callback, /* func */
NULL, /* data */
NULL); /* notify */
- if (
g_source_attach(
+ if (
!g_source_attach( /* returns 'guint' id */
sock_gsource, /* source */
NULL)) { /* context; NULL means 'default context' */
g_warning("g_source_attach(gsource,NULL): %m");