From 25d0c59c48067f195991656514ef76a30053699c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 9 Mar 2014 10:52:56 +0000 Subject: Meta_GetMostOnline must return NULL on error git-svn-id: http://svn.miranda-ng.org/main/trunk@8492 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/metacontacts/meta_api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/metacontacts') 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); } -- cgit v1.2.3