summaryrefslogtreecommitdiff
path: root/protocols/SkypeClassic/src/skypeproxy/skypeproxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeClassic/src/skypeproxy/skypeproxy.c')
-rw-r--r--protocols/SkypeClassic/src/skypeproxy/skypeproxy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/SkypeClassic/src/skypeproxy/skypeproxy.c b/protocols/SkypeClassic/src/skypeproxy/skypeproxy.c
index 65ba2e0ccc..200b79632a 100644
--- a/protocols/SkypeClassic/src/skypeproxy/skypeproxy.c
+++ b/protocols/SkypeClassic/src/skypeproxy/skypeproxy.c
@@ -510,7 +510,7 @@ int main(int argc, char *argv[]) {
if (argc>1) {
int i;
- if (!stricmp(argv[1], "-h") || !stricmp(argv[1], "--help") || !stricmp(argv[1], "/?")) {
+ if (!mir_strcmpi(argv[1], "-h") || !mir_strcmpi(argv[1], "--help") || !mir_strcmpi(argv[1], "/?")) {
printf("Usage: %s [-i BindIP] [-p BindPort]", argv[0]);
#ifdef USE_AUTHENTICATION
printf(" [-k Password]");
@@ -519,15 +519,15 @@ int main(int argc, char *argv[]) {
return EXIT_SUCCESS;
}
for (i=0;i<argc;i++) {
- if (!stricmp(argv[i], "-i") && argc>i+1)
+ if (!mir_strcmpi(argv[i], "-i") && argc>i+1)
strncpy(BindIP, argv[i+1], sizeof(BindIP));
- if (!stricmp(argv[i], "-p") && argc>i+1)
+ if (!mir_strcmpi(argv[i], "-p") && argc>i+1)
if (!(BindPort=atoi(argv[i+1]))) {
OUTPUT("ERROR: Cannot convert port to int. bye..");
return EXIT_FAILURE;
}
#ifdef USE_AUTHENTICATION
- if (!stricmp(argv[i], "-k") && argc>i+1)
+ if (!mir_strcmpi(argv[i], "-k") && argc>i+1)
password=strdup(argv[i+1]);
#endif
}