diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-09 10:52:56 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-09 10:52:56 +0000 |
commit | 25d0c59c48067f195991656514ef76a30053699c (patch) | |
tree | c5d75bf9b5d221886c351aafd8a7275e70371f59 /src/modules | |
parent | 38be028bd99a35f5ac4848ff66a1cdb2786bc048 (diff) |
Meta_GetMostOnline must return NULL on error
git-svn-id: http://svn.miranda-ng.org/main/trunk@8492 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/metacontacts/meta_api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/metacontacts/meta_api.cpp b/src/modules/metacontacts/meta_api.cpp index d9417b9cca..92def9d0b8 100644 --- a/src/modules/metacontacts/meta_api.cpp +++ b/src/modules/metacontacts/meta_api.cpp @@ -61,7 +61,7 @@ static INT_PTR MetaAPI_GetMostOnline(WPARAM hMetaContact, LPARAM) {
DBCachedContact *cc = CheckMeta(hMetaContact);
if (cc == NULL)
- return 1;
+ return NULL;
return Meta_GetMostOnline(cc);
}
|