Show
Ignore:
Timestamp:
03/25/08 21:05:29 (20 months ago)
Author:
dsallings
Message:

1) I don't have any prototype for daemon
2) The signature for dispatch_conn_new differs in the header and

thead.c

3) I get a "overflow" warning since the constant BIN_RES_MAGIC is

defined as a signed int...

Trond Norbye <Trond.Norbye@…>

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/binary/server/thread.c

    r745 r766  
    368368 * of an incoming connection. 
    369369 */ 
    370 void dispatch_conn_new(int sfd, int init_state, int event_flags, 
    371                        int read_buffer_size, int prot) { 
     370void dispatch_conn_new(int sfd, enum conn_states init_state, int event_flags, 
     371                       int read_buffer_size, enum protocol prot) { 
    372372    CQ_ITEM *item = cqi_new(); 
    373373    int thread = (last_thread + 1) % settings.num_threads;