The Samba-Bugzilla – Attachment 4182 Details for
Bug 6388
[PATCH] Syntax error in lib/ldb/ldb_sqlite3/base160.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix syntax error in lib/ldb/ldb_sqlite3/base160.c
0001-source-3-4-lib-ldb-ldb_sqlite3-base160.c-lsqlite3_ba.patch (text/plain), 1.63 KB, created by
Slava Semushin
on 2009-05-22 11:12:35 UTC
(
hide
)
Description:
Fix syntax error in lib/ldb/ldb_sqlite3/base160.c
Filename:
MIME Type:
Creator:
Slava Semushin
Created:
2009-05-22 11:12:35 UTC
Size:
1.63 KB
patch
obsolete
>From 34923a94eccee1bb2acfef050b9ab0c3fc62899c Mon Sep 17 00:00:00 2001 >From: Slava Semushin <php-coder@altlinux.ru> >Date: Fri, 22 May 2009 23:05:34 +0700 >Subject: [PATCH] source{3,4}/lib/ldb/ldb_sqlite3/base160.c(lsqlite3_base160Next): fixed syntax error. > >Found by cppcheck: >[./source3/lib/ldb/ldb_sqlite3/base160.c:125]: (error) Invalid number of character ((). Can't process file. >[./source4/lib/ldb/ldb_sqlite3/base160.c:125]: (error) Invalid number of character ((). Can't process file. >--- > source3/lib/ldb/ldb_sqlite3/base160.c | 2 +- > 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 423e2b6..7ad39f7 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 423e2b6..7ad39f7 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; > >-- >1.6.3.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6388
: 4182