projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Build fixes for libmemcached/memcached_io.c file.
[m6w6/libmemcached]
/
libmemcached
/
memcached_purge.c
diff --git
a/libmemcached/memcached_purge.c
b/libmemcached/memcached_purge.c
index 624f624571643779a8af78ab1da810764fa35054..40c8ad61a5af5d0e956e2a4c246601d9fcf1acf3 100644
(file)
--- a/
libmemcached/memcached_purge.c
+++ b/
libmemcached/memcached_purge.c
@@
-42,7
+42,7
@@
memcached_return memcached_purge(memcached_server_st *ptr)
* data to be sent from the server (the commands was in the output buffer
* and just flushed
*/
* data to be sent from the server (the commands was in the output buffer
* and just flushed
*/
-
long
timeo= ptr->root->poll_timeout;
+
int32_t
timeo= ptr->root->poll_timeout;
ptr->root->poll_timeout= 2000;
result_ptr= memcached_result_create(ptr->root, &result);
ptr->root->poll_timeout= 2000;
result_ptr= memcached_result_create(ptr->root, &result);
@@
-68,7
+68,7
@@
memcached_return memcached_purge(memcached_server_st *ptr)
}
memcached_result_free(result_ptr);
}
memcached_result_free(result_ptr);
- ptr->root->poll_timeout=timeo;
+ ptr->root->poll_timeout=
timeo;
}
ptr->root->purging= 0;
}
ptr->root->purging= 0;