From 159b565b390687258ee65a3b66596e118752063c Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 12:33:13 +0000 Subject: replace strcmp to mir_strcmp git-svn-id: http://svn.miranda-ng.org/main/trunk@13752 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NotifyAnything/SendLog/SLImp.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/NotifyAnything/SendLog/SLImp.cpp') diff --git a/plugins/NotifyAnything/SendLog/SLImp.cpp b/plugins/NotifyAnything/SendLog/SLImp.cpp index 0a4b69e81c..3b9982c460 100644 --- a/plugins/NotifyAnything/SendLog/SLImp.cpp +++ b/plugins/NotifyAnything/SendLog/SLImp.cpp @@ -16,19 +16,19 @@ void implementation(int argc, char **argv, bool console) bool tcp = false; const char *target = "127.0.0.1"; - if (argc >= 2 && !strcmp("-T", argv[1])) { + if (argc >= 2 && !mir_strcmp("-T", argv[1])) { tcp = true; argc -= 1; argv += 1; } - if (argc >= 3 && !strcmp("-H", argv[1])) { + if (argc >= 3 && !mir_strcmp("-H", argv[1])) { target = argv[2]; argc -= 2; argv += 2; } - if (argc >= 3 && !strcmp("-P", argv[1])) { + if (argc >= 3 && !mir_strcmp("-P", argv[1])) { port = atoi(argv[2]); argc -= 2; argv += 2; @@ -69,7 +69,7 @@ void implementation(int argc, char **argv, bool console) if (connect(sock, (const SOCKADDR *) &to, sizeof to)) throw (DWORD) WSAGetLastError(); - if (console && (argc == 1 || argc == 3 && !strcmp("-p", argv[1]))) { + if (console && (argc == 1 || argc == 3 && !mir_strcmp("-p", argv[1]))) { std::string prefix; if (argc == 3) prefix = argv[2]; -- cgit v1.2.3