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 ++++---- plugins/NotifyAnything/SendLog/SendLog.cpp | 2 +- plugins/NotifyAnything/SendLog/SendLogWin.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/NotifyAnything') 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]; diff --git a/plugins/NotifyAnything/SendLog/SendLog.cpp b/plugins/NotifyAnything/SendLog/SendLog.cpp index 5cb46932da..eab3ec3452 100644 --- a/plugins/NotifyAnything/SendLog/SendLog.cpp +++ b/plugins/NotifyAnything/SendLog/SendLog.cpp @@ -9,7 +9,7 @@ void implementation(int argc, char **argv, bool console); int main(int argc, char **argv) try { - if (argc == 2 && !strcmp("/?", argv[1])) { + if (argc == 2 && !mir_strcmp("/?", argv[1])) { std::cout << "\n" "Syntax: sendlog [-T] [-H host] [-P port] [-p prefix]\n" "\tSends each input line as a separate message, with optional prefix.\n" diff --git a/plugins/NotifyAnything/SendLog/SendLogWin.cpp b/plugins/NotifyAnything/SendLog/SendLogWin.cpp index 37f112efb8..72f50e3d44 100644 --- a/plugins/NotifyAnything/SendLog/SendLogWin.cpp +++ b/plugins/NotifyAnything/SendLog/SendLogWin.cpp @@ -9,7 +9,7 @@ void implementation(int argc, char **argv, bool console); int main(int argc, char **argv) try { - if (argc == 1 || argc == 2 && !strcmp("/?", argv[1])) { + if (argc == 1 || argc == 2 && !mir_strcmp("/?", argv[1])) { MessageBox(NULL, "Syntax: sendlog32 [-T] [-H host] [-P port] text\n" "\tSends single text message.", "Sendlog32", MB_OK); return 0; -- cgit v1.2.3