summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlava Semushin <php-coder@altlinux.org>2009-06-12 13:28:49 +0200
committerAndrew Bartlett <abartlet@samba.org>2009-06-18 13:49:26 +1000
commite0caf399e19082b982b09f3c016044d561f7860a (patch)
treef19932efd6b9964cd305c3983a224bf2794bcfa0
parentb112cc5503350b248949bdbcce8072f5523ce877 (diff)
downloadsamba-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.c2
-rw-r--r--source4/lib/ldb/ldb_sqlite3/base160.c2
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;