diff options
author | Günther Deschner <gd@samba.org> | 2005-12-19 03:02:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:54 -0500 |
commit | 0f20bcdbaaf39e0510038a29c29c41e368878116 (patch) | |
tree | 8eb8d830fa279567df2316885dd927f094793cf2 /source3 | |
parent | ce5bde1e847e759c397ec513520b9343b4e81619 (diff) | |
download | samba-0f20bcdbaaf39e0510038a29c29c41e368878116.tar.gz samba-0f20bcdbaaf39e0510038a29c29c41e368878116.tar.bz2 samba-0f20bcdbaaf39e0510038a29c29c41e368878116.zip |
r12341: add DEBUG statement.
Guenther
(This used to be commit d50098518d77f9559457f558df7d11d3f026833e)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nsswitch/winbindd_cache.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index 841b114a78..81dd85e588 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -546,8 +546,10 @@ static void centry_put_string(struct cache_entry *centry, const char *s) len = strlen(s); /* can't handle more than 254 char strings. Truncating is probably best */ - if (len > 254) + if (len > 254) { + DEBUG(10,("centry_put_string: truncating len (%d) to: 254\n", len)); len = 254; + } centry_put_uint8(centry, len); centry_expand(centry, len); memcpy(centry->data + centry->ofs, s, len); |