From 9374c8e701dcb61a46c89a854235d91a23bf672e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 26 Jul 2019 20:02:16 +0300 Subject: warning fixes --- plugins/DbEditorPP/src/exportimport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/DbEditorPP/src') diff --git a/plugins/DbEditorPP/src/exportimport.cpp b/plugins/DbEditorPP/src/exportimport.cpp index 8241c13ed5..956e317ccb 100644 --- a/plugins/DbEditorPP/src/exportimport.cpp +++ b/plugins/DbEditorPP/src/exportimport.cpp @@ -341,7 +341,7 @@ void importSettings(MCONTACT hContact, char *utf8) deleteModule(hContact, module, 0); } } - else if (strstr(&importstring[i], "=") && module[0]) { // get the setting + else if (strchr(&importstring[i], '=') && module[0]) { // get the setting if (end = strpbrk(&importstring[i + 1], "=")) { *end = '\0'; mir_strcpy(setting, &importstring[i]); -- cgit v1.2.3