Changeset 766
- Timestamp:
- 03/25/08 21:05:29 (6 months ago)
- Files:
-
- branches/binary/server/memcached.c (modified) (2 diffs)
- branches/binary/server/thread.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/binary/server/memcached.c
r763 r766 61 61 #endif 62 62 63 #ifndef HAVE_DAEMON 64 extern int daemon(int nochdir, int noclose); 65 #endif 66 63 67 /* 64 68 * forward declarations … … 882 886 res_header = (uint32_t *)c->wbuf; 883 887 884 res_header[0] = BIN_RES_MAGIC<< 24;888 res_header[0] = ((uint32_t)BIN_RES_MAGIC) << 24; 885 889 res_header[0] |= ((0xff & c->cmd) << 16); 886 890 res_header[0] |= err & 0xffff; branches/binary/server/thread.c
r745 r766 368 368 * of an incoming connection. 369 369 */ 370 void dispatch_conn_new(int sfd, intinit_state, int event_flags,371 int read_buffer_size, intprot) {370 void dispatch_conn_new(int sfd, enum conn_states init_state, int event_flags, 371 int read_buffer_size, enum protocol prot) { 372 372 CQ_ITEM *item = cqi_new(); 373 373 int thread = (last_thread + 1) % settings.num_threads;
