change #include to move foo.h to libowfat/foo.h (needs current libowfat now)

This commit is contained in:
leitner
2017-04-21 16:23:38 +00:00
parent 5664e1796a
commit 1d95650489
56 changed files with 183 additions and 164 deletions

View File

@@ -1,7 +1,7 @@
#include <string.h>
#include "ldap.h"
#include "str.h"
#include "rangecheck.h"
#include <libowfat/str.h>
#include <libowfat/rangecheck.h>
size_t fmt_ldapbindrequest(char* dest,long version,const char* name,const char* simple) {
size_t l,sum;
@@ -15,6 +15,5 @@ size_t fmt_ldapbindrequest(char* dest,long version,const char* name,const char*
nlen=str_len(simple);
l=fmt_asn1string(dest,PRIVATE,PRIMITIVE,0,simple,nlen);
if (add_of(sum,sum,l)) return (size_t)-1;
if (dest) dest+=l;
return sum;
}