projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fixing bogus assert in debug build.
[m6w6/libmemcached]
/
libmemcached
/
memcached.c
diff --git
a/libmemcached/memcached.c
b/libmemcached/memcached.c
index be084199c1ff5a6c585ddb0124f40e666493f295..c0fee34d0e6520405e678bdaa9b2e44114e383db 100644
(file)
--- a/
libmemcached/memcached.c
+++ b/
libmemcached/memcached.c
@@
-1,6
+1,14
@@
-/*
- Memcached library
-*/
+/* LibMemcached
+ * Copyright (C) 2006-2010 Brian Aker
+ * All rights reserved.
+ *
+ * Use and distribution licensed under the BSD license. See
+ * the COPYING file in the parent directory for full text.
+ *
+ * Summary:
+ *
+ */
+
#include "common.h"
static const memcached_st global_copy= {
#include "common.h"
static const memcached_st global_copy= {
@@
-184,7
+192,7
@@
void memcached_free(memcached_st *ptr)
If source is NULL the call is the same as if a memcached_create() was
called.
*/
If source is NULL the call is the same as if a memcached_create() was
called.
*/
-memcached_st *memcached_clone(memcached_st *clone, memcached_st *source)
+memcached_st *memcached_clone(memcached_st *clone,
const
memcached_st *source)
{
memcached_return_t rc= MEMCACHED_SUCCESS;
memcached_st *new_clone;
{
memcached_return_t rc= MEMCACHED_SUCCESS;
memcached_st *new_clone;
@@
-271,7
+279,7
@@
memcached_st *memcached_clone(memcached_st *clone, memcached_st *source)
}
if (source->on_clone)
}
if (source->on_clone)
- source->on_clone(
source, new_clon
e);
+ source->on_clone(
new_clone, sourc
e);
return new_clone;
}
return new_clone;
}