summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/SkypeWeb/src/skype_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_utils.cpp b/protocols/SkypeWeb/src/skype_utils.cpp
index 38ca985b24..ac33a182cf 100644
--- a/protocols/SkypeWeb/src/skype_utils.cpp
+++ b/protocols/SkypeWeb/src/skype_utils.cpp
@@ -162,7 +162,7 @@ char *ParseUrl(const char *url, const char *token)
return NULL;
start = start + mir_strlen(token);
const char *end = strchr(start, '/');
- if (start == NULL)
+ if (end == NULL)
return mir_strdup(start);
return mir_strndup(start, end - start);
}