diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-04-17 02:37:46 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-04-17 02:37:46 +0000 |
commit | e35ac78c49c3bd2aeb871cf1ebee43cf73477c6a (patch) | |
tree | 1a258514223834db1b9cd0cc8741c41b378e50d9 /source3/lib/util_str.c | |
parent | 1416106736adb6190ac788ee27c2a4bf4eb1790f (diff) | |
download | samba-e35ac78c49c3bd2aeb871cf1ebee43cf73477c6a.tar.gz samba-e35ac78c49c3bd2aeb871cf1ebee43cf73477c6a.tar.bz2 samba-e35ac78c49c3bd2aeb871cf1ebee43cf73477c6a.zip |
make suure we get the return value from the pull_*() functions right
for both null terminated and buffer length terminated strings
(This used to be commit e8fbf853e0eed61bb7405be731f18fb2426f8dc4)
Diffstat (limited to 'source3/lib/util_str.c')
-rw-r--r-- | source3/lib/util_str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c index 9a841a36b3..f6e579ddba 100644 --- a/source3/lib/util_str.c +++ b/source3/lib/util_str.c @@ -1004,7 +1004,7 @@ some platforms don't have strndup #ifndef HAVE_STRNLEN /******************************************************************* -some platforms don't have strndup +some platforms don't have strnlen ********************************************************************/ size_t strnlen(const char *s, size_t n) { |