git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d748652
)
lib: tevent: Fix compile error in Solaris ports backend.
author
Gordon Ross
<gordon.w.ross@gmail.com>
Wed, 29 Apr 2015 18:34:10 +0000
(11:34 -0700)
committer
Jeremy Allison
<jra@samba.org>
Wed, 29 Apr 2015 21:42:20 +0000
(23:42 +0200)
Signed-off-by: Gordon Ross <gordon.w.ross@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
lib/tevent/tevent_port.c
patch
|
blob
|
history
diff --git
a/lib/tevent/tevent_port.c
b/lib/tevent/tevent_port.c
index dd4958e86aaa3bb26ae6afa5eda12246eb394d08..5b487d7341ebff0a550e183c28e6bc93e7e233fe 100644
(file)
--- a/
lib/tevent/tevent_port.c
+++ b/
lib/tevent/tevent_port.c
@@
-174,10
+174,11
@@
static int associate_all_events(struct port_event_context *port_ev)
struct port_associate_vals *val;
for (val = port_ev->po_vals; val; val = val->next) {
+ int ret;
if (val->associated_event) {
continue;
}
-
int
ret = port_associate(port_ev->port_fd,
+ ret = port_associate(port_ev->port_fd,
PORT_SOURCE_FD,
(uintptr_t)val->fde->fd,
val->events,