summaryrefslogtreecommitdiff
path: root/protocols/SkypeClassic
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 18:37:53 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 18:37:53 +0000
commite2d7ebd6315a810bd4ea54f1088b84d09c3ca5d2 (patch)
tree736bb8768f17b26904cdf8e0fe6fb47e1dcb892e /protocols/SkypeClassic
parenta882eddcba5fd22adab1454c8d2ff9c224bc7aa7 (diff)
replace stricmp to mir_strcmpi
git-svn-id: http://svn.miranda-ng.org/main/trunk@13760 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeClassic')
-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
}