1 May 2010 06:51
[chunkd patch 2/2] cleanup: use srv_poll_lookup
Pete Zaitcev <zaitcev <at> redhat.com>
2010-05-01 04:51:04 GMT
2010-05-01 04:51:04 GMT
No, we did not mean anything in particular by using a naked hash
lookup here, just forgot to convert.
Signed-off-by: Pete Zaitcev <zaitcev <at> redhat.com>
---
server/server.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/server/server.c b/server/server.c
index f367676..014575e 100644
--- a/server/server.c
+++ b/server/server.c
<at> <at> -1681,8 +1681,7 <at> <at> static int main_loop(void)
fired++;
- sp = g_hash_table_lookup(chunkd_srv.fd_info,
- GINT_TO_POINTER(pfd->fd));
+ sp = srv_poll_lookup(pfd->fd);
if (G_UNLIKELY(!sp)) {
/* BUG! */
continue;
RSS Feed