From 8eb630a6605fed621fd7acd5b0cafa4143149aa8 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Tue, 22 Jan 2013 16:56:01 +0000 Subject: - fixed r3219 - all HTTPServer files are read and created in ProfileDir\HTTPServer. You need to copy your files manually. git-svn-id: http://svn.miranda-ng.org/main/trunk@3232 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HTTPServer/src/GuiElements.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/HTTPServer/src/GuiElements.cpp') diff --git a/plugins/HTTPServer/src/GuiElements.cpp b/plugins/HTTPServer/src/GuiElements.cpp index cd303b04a9..fcfdc16a90 100644 --- a/plugins/HTTPServer/src/GuiElements.cpp +++ b/plugins/HTTPServer/src/GuiElements.cpp @@ -95,7 +95,7 @@ void ReplaceAll(string &sSrc, const char * pszReplace, const char * pszNew) { string DBGetString(HANDLE hContact, const char *szModule, const char *szSetting, const char * pszError) { string ret; DBVARIANT dbv = {0}; - if (! DBGetContactSetting(hContact, szModule, szSetting, &dbv)) { + if (! db_get(hContact, szModule, szSetting, &dbv)) { if (dbv.type != DBVT_ASCIIZ) { MessageBox(NULL, "DB: Attempt to get wrong type of value, string", MSG_BOX_TITEL, MB_OK); ret = pszError; -- cgit v1.2.3