[chunkd patch 2/2] cleanup: use srv_poll_lookup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

---
 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
@@ -1681,8 +1681,7 @@ 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;
--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Fedora Clound]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux