diff options
Diffstat (limited to 'plugins/NotifyAnything/SendLog')
-rw-r--r-- | plugins/NotifyAnything/SendLog/SLImp.cpp | 8 | ||||
-rw-r--r-- | plugins/NotifyAnything/SendLog/SendLog.cpp | 2 | ||||
-rw-r--r-- | plugins/NotifyAnything/SendLog/SendLogWin.cpp | 2 |
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;
|