r11378: Fix an uninitialized variable warning. Tridge, I'm 99.999% sure this was a
authorVolker Lendecke <vlendec@samba.org>
Fri, 28 Oct 2005 19:14:46 +0000 (19:14 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:45:29 +0000 (13:45 -0500)
simple cut&paste error, but you might recheck this.

Volker
(This used to be commit 55b5b100e9ef7e04832d5ba4c10c45916be3513e)

source4/lib/ldb/common/attrib_handlers.c

index 4a6e3e3c7931c888fa4cf2ccc94d33ebac4afbc6..4b9d349672a532d27b54610cd4b32e90b403ebf7 100644 (file)
@@ -232,7 +232,7 @@ static int ldb_comparison_utctime(struct ldb_context *ldb, void *mem_ctx,
 {
        time_t t1, t2;
        t1 = ldb_string_to_time((char *)v1->data);
-       t1 = ldb_string_to_time((char *)v1->data);
+       t2 = ldb_string_to_time((char *)v2->data);
        return (int)t2 - (int)t1;
 }