summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 533dc85)
raw | patch | inline | side by side (parent: 533dc85)
author | Sebastian Harl <sh@tokkee.org> | |
Sat, 23 Mar 2013 04:14:04 +0000 (21:14 -0700) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Mon, 25 Mar 2013 11:32:29 +0000 (12:32 +0100) |
src/core/store.c | patch | blob | history |
diff --git a/src/core/store.c b/src/core/store.c
index f99841f4820251f08fe86a339f1b24edf4ca6adc..024733fc7350cf33cbc20673b5e09c4ccfe17a12 100644 (file)
--- a/src/core/store.c
+++ b/src/core/store.c
}
}
else {
- sdb_host_t *new = SDB_HOST(sdb_host_do_clone(SDB_CONST_OBJ(host)));
+ sdb_host_t *new = SDB_HOST(sdb_object_clone(SDB_CONST_OBJ(host)));
if (! new) {
char errbuf[1024];
sdb_log(SDB_LOG_ERR, "store: Failed to clone host object: %s",
}
}
else {
- sdb_attribute_t *new = SDB_ATTR(sdb_attr_clone(SDB_CONST_OBJ(attr)));
+ sdb_attribute_t *new = SDB_ATTR(sdb_object_clone(SDB_CONST_OBJ(attr)));
if (! new) {
char errbuf[1024];
sdb_log(SDB_LOG_ERR, "store: Failed to clone attribute "
}
}
else {
- sdb_service_t *new = SDB_SVC(sdb_svc_clone(SDB_CONST_OBJ(svc)));
+ sdb_service_t *new = SDB_SVC(sdb_object_clone(SDB_CONST_OBJ(svc)));
if (! new) {
char errbuf[1024];
sdb_log(SDB_LOG_ERR, "store: Failed to clone service "