X-Git-Url: http://git.samba.org/?a=blobdiff_plain;f=lib%2Fldb%2Fcommon%2Fldb_dn.c;h=b7d2de7e00fc167f36b475a56d5874f9495d1d27;hb=d1235c79ec8dbd4a79d0d14442098fc427f79ac3;hp=5bf72ac2f6bba62af444ccb401d71b7dca9a9b72;hpb=cf05ba5b3210e9258dd4a1126bd29a1e696ec957;p=obnox%2Fsamba%2Fsamba-obnox.git diff --git a/lib/ldb/common/ldb_dn.c b/lib/ldb/common/ldb_dn.c index 5bf72ac2f6b..b7d2de7e00f 100644 --- a/lib/ldb/common/ldb_dn.c +++ b/lib/ldb/common/ldb_dn.c @@ -1916,7 +1916,7 @@ int ldb_dn_set_component(struct ldb_dn *dn, int num, return LDB_ERR_OTHER; } - if (v.length > v.length + 1) { + if (val.length > val.length + 1) { return LDB_ERR_OTHER; }