diff options
author | Jeremy Allison <jra@samba.org> | 2002-12-11 23:54:40 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-12-11 23:54:40 +0000 |
commit | ec4ed45563f9d8e25fcfd88840944a90b3139c3e (patch) | |
tree | d64c3cac0e88f8c79ca2e91ab8010393c01259e7 /source/tdb | |
parent | e258887f508db3d2c923f393f0104e7cf1bd6545 (diff) | |
download | samba-ec4ed45563f9d8e25fcfd88840944a90b3139c3e.tar.gz samba-ec4ed45563f9d8e25fcfd88840944a90b3139c3e.tar.xz samba-ec4ed45563f9d8e25fcfd88840944a90b3139c3e.zip |
Fixed auth module code. Added VALGRIND defines to reduce spurious warnings.
Jeremy.
Diffstat (limited to 'source/tdb')
-rw-r--r-- | source/tdb/tdbbackup.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/tdb/tdbbackup.c b/source/tdb/tdbbackup.c index 36ba7db9188..7b344de6c45 100644 --- a/source/tdb/tdbbackup.c +++ b/source/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 |