diff options
author | Slava Semushin <php-coder@altlinux.org> | 2009-06-12 13:28:49 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-06-18 13:49:26 +1000 |
commit | e0caf399e19082b982b09f3c016044d561f7860a (patch) | |
tree | f19932efd6b9964cd305c3983a224bf2794bcfa0 | |
parent | b112cc5503350b248949bdbcce8072f5523ce877 (diff) | |
download | samba-e0caf399e19082b982b09f3c016044d561f7860a.tar.gz samba-e0caf399e19082b982b09f3c016044d561f7860a.tar.xz samba-e0caf399e19082b982b09f3c016044d561f7860a.zip |
Fix syntax error in lib/ldb/ldb_sqlite3/base160.c
Patch for bug #6388
-rw-r--r-- | source3/lib/ldb/ldb_sqlite3/base160.c | 2 | ||||
-rw-r--r-- | source4/lib/ldb/ldb_sqlite3/base160.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/ldb/ldb_sqlite3/base160.c b/source3/lib/ldb/ldb_sqlite3/base160.c index 423e2b68419..7ad39f7c2f5 100644 --- a/source3/lib/ldb/ldb_sqlite3/base160.c +++ b/source3/lib/ldb/ldb_sqlite3/base160.c @@ -122,7 +122,7 @@ lsqlite3_base160Next(char base160[]) * We need a minimum of four digits, and we will always get a multiple of * four digits. */ - if (len = strlen(pBase160)) >= 4) + if ((len = strlen(pBase160)) >= 4) { pBase160 += strlen(pBase160) - 1; diff --git a/source4/lib/ldb/ldb_sqlite3/base160.c b/source4/lib/ldb/ldb_sqlite3/base160.c index 423e2b68419..7ad39f7c2f5 100644 --- a/source4/lib/ldb/ldb_sqlite3/base160.c +++ b/source4/lib/ldb/ldb_sqlite3/base160.c @@ -122,7 +122,7 @@ lsqlite3_base160Next(char base160[]) * We need a minimum of four digits, and we will always get a multiple of * four digits. */ - if (len = strlen(pBase160)) >= 4) + if ((len = strlen(pBase160)) >= 4) { pBase160 += strlen(pBase160) - 1; |