diff options
author | Jeremy Allison <jra@samba.org> | 2002-12-11 23:54:46 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-12-11 23:54:46 +0000 |
commit | 7dd847ba9c10be196b5d02f9593c642666855470 (patch) | |
tree | d8075361fa9e53f24ae0e07633751ad645547275 /source3/tdb | |
parent | f7267c1235ae1b8c6a7324d508f5d435ff18de50 (diff) | |
download | samba-7dd847ba9c10be196b5d02f9593c642666855470.tar.gz samba-7dd847ba9c10be196b5d02f9593c642666855470.tar.xz samba-7dd847ba9c10be196b5d02f9593c642666855470.zip |
Fixed auth module code. Added VALGRIND defines to reduce spurious warnings.
Jeremy.
(This used to be commit ff3a8d37289216a2cb808406044a7abef1e564d0)
Diffstat (limited to 'source3/tdb')
-rw-r--r-- | source3/tdb/tdbbackup.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/tdb/tdbbackup.c b/source3/tdb/tdbbackup.c index 36ba7db9188..7b344de6c45 100644 --- a/source3/tdb/tdbbackup.c +++ b/source3/tdb/tdbbackup.c @@ -303,3 +303,13 @@ static void usage(void) return ret; } + +#ifdef VALGRIND +size_t valgrind_strlen(const char *s) +{ + size_t count; + for(count = 0; *s++; count++) + ; + return count; +} +#endif |