diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-28 12:35:00 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-28 12:35:00 +0000 |
commit | a7001dfd139fbb9d5cf5434fc40370f8da0cf04c (patch) | |
tree | 844416b2bc429054557bda440e75f466f1e30bf7 /src/modules/database/dbintf.cpp | |
parent | d5defc979cd71a5f2bb5176382fa2f5f50f23d1b (diff) |
perversive error reporting schema in DATABASELINK removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@1223 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/database/dbintf.cpp')
-rw-r--r-- | src/modules/database/dbintf.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/database/dbintf.cpp b/src/modules/database/dbintf.cpp index 4c5e19607c..62850c55da 100644 --- a/src/modules/database/dbintf.cpp +++ b/src/modules/database/dbintf.cpp @@ -178,8 +178,8 @@ static INT_PTR srvRegisterPlugin(WPARAM wParam,LPARAM lParam) static INT_PTR srvFindPlugin(WPARAM wParam,LPARAM lParam)
{
for (int i=0; i < arDbPlugins.getCount(); i++) {
- int error;
- if (arDbPlugins[i]->grokHeader((TCHAR*)lParam, &error) == ERROR_SUCCESS)
+ int error = arDbPlugins[i]->grokHeader((TCHAR*)lParam);
+ if (error == ERROR_SUCCESS)
return (INT_PTR)arDbPlugins[i];
}
|