/[svn]/branches/newio/src/ioengine_poll.c
ViewVC logotype

Diff of /branches/newio/src/ioengine_poll.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2421 by michael, Sun Jul 21 14:33:22 2013 UTC revision 2422 by michael, Wed Jul 24 18:19:15 2013 UTC
# Line 150  state_to_events(enum SocketState state, Line 150  state_to_events(enum SocketState state,
150   * @param[in] set Set of interest events to set on socket.   * @param[in] set Set of interest events to set on socket.
151   */   */
152  static void  static void
153  set_or_clear(int idx, unsigned int clear, unsigned int set)  set_or_clear(unsigned int idx, unsigned int clear, unsigned int set)
154  {  {
155    if ((clear ^ set) & SOCK_EVENT_READABLE)    if ((clear ^ set) & SOCK_EVENT_READABLE)
156    {    {
# Line 178  set_or_clear(int idx, unsigned int clear Line 178  set_or_clear(int idx, unsigned int clear
178  static int  static int
179  engine_add(struct Socket *sock)  engine_add(struct Socket *sock)
180  {  {
181    int i;    unsigned int i;
182    
183    assert(sock);    assert(sock);
184    

Legend:
Removed from v.2421  
changed lines
  Added in v.2422

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28