summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu <jiung.yu@samsung.com>2020-05-19 10:37:39 +0900
committerYu <jiung.yu@samsung.com>2020-05-19 10:37:54 +0900
commit938a4877440a0ffe109e4a5d9d86e5644642b9f3 (patch)
tree3bd81fa096d42836cd02e0ec8077dea37b148d31
parent68d8b030da4b57272a7468ac1850cc069a27dd91 (diff)
downloadconnman-accepted/tizen/unified/20200519.035055.tar.gz
connman-accepted/tizen/unified/20200519.035055.tar.bz2
connman-accepted/tizen/unified/20200519.035055.zip
Change-Id: I11c0eee0076be37b17ec5ffaff92c72975d29d8f Signed-off-by: Yu jiung <jiung.yu@samsung.com>
-rwxr-xr-xgdbus/watch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbus/watch.c b/gdbus/watch.c
index c51e60df..1ca3c4bd 100755
--- a/gdbus/watch.c
+++ b/gdbus/watch.c
@@ -148,7 +148,7 @@ static gboolean check_rule_length(int remains, const char *prefix, const char *d
if (!prefix || !data)
return FALSE;
- return strlen(prefix) - 4 + strlen(data) < remains;
+ return strlen(prefix) - 2 + strlen(data) < remains;
}
static void format_rule(struct filter_data *data, char *rule, size_t size)