summaryrefslogtreecommitdiff
path: root/plugins/NotifyAnything/SendLog
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2015-05-23 06:28:46 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2015-05-23 06:28:46 +0000
commitef4d633f2e5ea636699fc177c260f95b342250f3 (patch)
treefdc4660a225d3ded3638bca141a424a697af2b74 /plugins/NotifyAnything/SendLog
parent9b89e9054191bdce7c371bfaab3081254993f10e (diff)
temporary revert - does not compile by cl.exe compiler
git-svn-id: http://svn.miranda-ng.org/main/trunk@13769 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NotifyAnything/SendLog')
-rw-r--r--plugins/NotifyAnything/SendLog/SLImp.cpp8
-rw-r--r--plugins/NotifyAnything/SendLog/SendLog.cpp2
-rw-r--r--plugins/NotifyAnything/SendLog/SendLogWin.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/plugins/NotifyAnything/SendLog/SLImp.cpp b/plugins/NotifyAnything/SendLog/SLImp.cpp
index 3b9982c460..0a4b69e81c 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 && !mir_strcmp("-T", argv[1])) {
+ if (argc >= 2 && !strcmp("-T", argv[1])) {
tcp = true;
argc -= 1;
argv += 1;
}
- if (argc >= 3 && !mir_strcmp("-H", argv[1])) {
+ if (argc >= 3 && !strcmp("-H", argv[1])) {
target = argv[2];
argc -= 2;
argv += 2;
}
- if (argc >= 3 && !mir_strcmp("-P", argv[1])) {
+ if (argc >= 3 && !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 && !mir_strcmp("-p", argv[1]))) {
+ if (console && (argc == 1 || argc == 3 && !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 eab3ec3452..5cb46932da 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 && !mir_strcmp("/?", argv[1])) {
+ if (argc == 2 && !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 72f50e3d44..37f112efb8 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 && !mir_strcmp("/?", argv[1])) {
+ if (argc == 1 || argc == 2 && !strcmp("/?", argv[1])) {
MessageBox(NULL, "Syntax: sendlog32 [-T] [-H host] [-P port] text\n"
"\tSends single text message.", "Sendlog32", MB_OK);
return 0;