Changeset 752 for branches/binary/server/memcached.c
- Timestamp:
- 03/17/08 07:40:41 (21 months ago)
- Files:
-
- 1 modified
-
branches/binary/server/memcached.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/binary/server/memcached.c
r746 r752 66 66 static void drive_machine(conn *c); 67 67 static int new_socket(struct addrinfo *ai); 68 static int server_socket(const int port, const intprot);68 static int server_socket(const int port, enum protocol prot); 69 69 static int try_read_command(conn *c); 70 70 static int try_read_network(conn *c); … … 315 315 316 316 conn *conn_new(const int sfd, const int init_state, const int event_flags, 317 const int read_buffer_size, const intprot,317 const int read_buffer_size, enum protocol prot, 318 318 struct event_base *base) { 319 319 conn *c = conn_from_freelist(); … … 3043 3043 } 3044 3044 3045 static int server_socket(const int port, const intprot) {3045 static int server_socket(const int port, enum protocol prot) { 3046 3046 int sfd; 3047 3047 struct linger ling = {0, 0};
