summaryrefslogtreecommitdiffstats
path: root/fmt_ldapresult.c
diff options
context:
space:
mode:
authorSimon Rettberg2017-05-09 10:05:57 +0200
committerSimon Rettberg2017-05-09 10:05:57 +0200
commit8c081cb1fef6cdfdf4b3d42cc93e97d0d6a59d14 (patch)
tree890ea62f47af0a06db998142810851f618d27bca /fmt_ldapresult.c
parentDelete some more unused files (diff)
downloadldadp-8c081cb1fef6cdfdf4b3d42cc93e97d0d6a59d14.tar.gz
ldadp-8c081cb1fef6cdfdf4b3d42cc93e97d0d6a59d14.tar.xz
ldadp-8c081cb1fef6cdfdf4b3d42cc93e97d0d6a59d14.zip
Update tinyldap part
Diffstat (limited to 'fmt_ldapresult.c')
-rw-r--r--fmt_ldapresult.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fmt_ldapresult.c b/fmt_ldapresult.c
index b573089..6d2b79d 100644
--- a/fmt_ldapresult.c
+++ b/fmt_ldapresult.c
@@ -14,7 +14,7 @@ size_t fmt_ldapresult(char* dest,long result,const char* matcheddn,const char* e
if (referral && *referral) {
nlen=str_len(referral);
l=fmt_asn1OCTETSTRING(dest,referral,nlen);
- sum+=l; if (dest) dest+=l;
+ sum+=l;
}
return sum;
}