Fix syntax error in lib/ldb/ldb_sqlite3/base160.c
authorSlava Semushin <php-coder@altlinux.org>
Fri, 12 Jun 2009 11:28:49 +0000 (13:28 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 18 Jun 2009 03:49:26 +0000 (13:49 +1000)
Patch for bug #6388

source3/lib/ldb/ldb_sqlite3/base160.c
source4/lib/ldb/ldb_sqlite3/base160.c

index 423e2b6841948cd0274e6caf697b137353a27260..7ad39f7c2f504f2e6c1b82173d792e001eb35997 100644 (file)
@@ -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;
 
index 423e2b6841948cd0274e6caf697b137353a27260..7ad39f7c2f504f2e6c1b82173d792e001eb35997 100644 (file)
@@ -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;