summaryrefslogtreecommitdiff
path: root/plugins/SeenPlugin/src/utils.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <KVolinsky@COMMON.EU.CORP.TOYOTA.com>2017-06-14 08:40:15 +0300
committerKirill Volinsky <KVolinsky@COMMON.EU.CORP.TOYOTA.com>2017-06-14 08:40:15 +0300
commitff728bba88080d5cd2b272bfe2792b5651e222fe (patch)
tree80d469ea7b68a61ba791ee385bfbe793f50b7f30 /plugins/SeenPlugin/src/utils.cpp
parent4e29ae1bb46f4cda80dc678768492e6ea8276c30 (diff)
SeenPlugin: delimiter between protocols changed to non-printed "\n"
Diffstat (limited to 'plugins/SeenPlugin/src/utils.cpp')
-rw-r--r--plugins/SeenPlugin/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SeenPlugin/src/utils.cpp b/plugins/SeenPlugin/src/utils.cpp
index d1cf8d8a17..302dfa1dbd 100644
--- a/plugins/SeenPlugin/src/utils.cpp
+++ b/plugins/SeenPlugin/src/utils.cpp
@@ -32,7 +32,7 @@ void LoadWatchedProtos()
if (szProtos == NULL)
return;
- for (char *p = strtok(szProtos, " "); p != NULL; p = strtok(NULL, " "))
+ for (char *p = strtok(szProtos, "\n"); p != NULL; p = strtok(NULL, "\n"))
arWatchedProtos.insert(mir_strdup(p));
}