aboutsummaryrefslogtreecommitdiffstats
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-12-13 14:12:02 +0100
commitb24fcf1f55b7da4359dd04777f700190799b9f64 (patch)
treea46b3f7ca7d28bcd45a1915e97716699e2178b92
parent5e68dd976b6710a28955368b0b67fbbcd6cce371 (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];
}