summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-07-25 16:06:21 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-07-25 16:06:21 +0200
commit764c355550133b67e588d996c1a18a4937731dcb (patch)
treea46b3f7ca7d28bcd45a1915e97716699e2178b92
parent74be4cc4e4dbc119f9d7c4dbd739e8b9bfbb46db (diff)
Add '@' as binder middle name separator.
Used binder name if set using the application id which use '@' to separate name from version. Change-Id: I1c4d963250ac17d4e4104b6cc69aa08b8fa95505 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--filescan-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filescan-utils.c b/filescan-utils.c
index 05e13f9..f58a2c9 100644
--- a/filescan-utils.c
+++ b/filescan-utils.c
@@ -117,7 +117,7 @@ const char* GetMiddleName(const char* name)
int start;
start = idx + 1;
for (int jdx = start;; jdx++) {
- if (fullname[jdx] == '-' || fullname[jdx] == '.' || fullname[jdx] == '\0') {
+ if (fullname[jdx] == '-' || fullname[jdx] == '@' || fullname[jdx] == '.' || fullname[jdx] == '\0') {
fullname[jdx] = '\0';
return &fullname[start];
}