summaryrefslogtreecommitdiffstats
path: root/scan_ldapsearchfilterstring.c
diff options
context:
space:
mode:
Diffstat (limited to 'scan_ldapsearchfilterstring.c')
-rw-r--r--scan_ldapsearchfilterstring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scan_ldapsearchfilterstring.c b/scan_ldapsearchfilterstring.c
index 8f8b9ff..4e35523 100644
--- a/scan_ldapsearchfilterstring.c
+++ b/scan_ldapsearchfilterstring.c
@@ -46,7 +46,7 @@ scan_filterlist:
if (*(++s)=='*') {
if (*(++s)==')') {
(*f)->type=PRESENT;
- return s-src;
+ return s-src+1;
}
(*f)->type=SUBSTRING;
substring: