X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fudp.cc;h=5d21f9ff2d5396e40b98ed5afd03f7aa3e46f697;hb=d9db3f534bc38ea22e83e5529ff93aea4150ab19;hp=923e2734569326a38f70b51b8640d0806011ebc5;hpb=7670421c18c650ef470ada9c7367e2b7a253fad0;p=awesomized%2Flibmemcached diff --git a/libmemcached/udp.cc b/libmemcached/udp.cc index 923e2734..5d21f9ff 100644 --- a/libmemcached/udp.cc +++ b/libmemcached/udp.cc @@ -48,7 +48,7 @@ * extracts the message number from message_id, increments it and then * writes the new value back into the header */ -void increment_udp_message_id(org::libmemcached::Instance* ptr) +void increment_udp_message_id(memcached_instance_st* ptr) { struct udp_datagram_header_st *header= (struct udp_datagram_header_st *)ptr->write_buffer; uint16_t cur_req= get_udp_datagram_request_id(header); @@ -61,7 +61,7 @@ void increment_udp_message_id(org::libmemcached::Instance* ptr) header->request_id= htons((uint16_t) (thread_id | msg_num)); } -bool memcached_io_init_udp_header(org::libmemcached::Instance* ptr, const uint16_t thread_id) +bool memcached_io_init_udp_header(memcached_instance_st* ptr, const uint16_t thread_id) { if (thread_id > UDP_REQUEST_ID_MAX_THREAD_ID) {