]> jfr.im git - solanum.git/commitdiff
hash_cli_fd(x)
authorValery Yatsko <redacted>
Wed, 2 Apr 2008 10:22:43 +0000 (14:22 +0400)
committerValery Yatsko <redacted>
Wed, 2 Apr 2008 10:22:43 +0000 (14:22 +0400)
src/hash.c

index f7eb3f5a3f5bbf6b1193d5bf0c09384374be423a..053f13c208de4ca9339d75b2bf2df91ee214e893 100644 (file)
@@ -39,6 +39,8 @@
 #include "cache.h"
 #include "s_newconf.h"
 
+#define hash_cli_fd(x) (x % CLI_FD_MAX)
+
 rb_dlink_list *clientTable;
 rb_dlink_list *channelTable;
 rb_dlink_list *idTable;