]> git.samba.org - kamenim/samba.git/blobdiff - source4/lib/ldb/modules/timestamps.c
r10913: This patch isn't as big as it looks ...
[kamenim/samba.git] / source4 / lib / ldb / modules / timestamps.c
index 13e9c2ccc46f1ae59b2430418024f09fc6325f3c..8451da24452bed13e01d54a4c542bbce43e4d29b 100644 (file)
@@ -58,7 +58,7 @@ static int add_time_element(struct ldb_module *module, struct ldb_message *msg,
                }
        }
 
-       if (ldb_msg_add_string(module->ldb, msg, attr_name, time_string) != 0) {
+       if (ldb_msg_add_string(msg, attr_name, time_string) != 0) {
                return -1;
        }