git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0be0e0
)
r12341: add DEBUG statement.
author
Günther Deschner
<gd@samba.org>
Mon, 19 Dec 2005 03:02:56 +0000
(
03:02
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:05:54 +0000
(11:05 -0500)
Guenther
source/nsswitch/winbindd_cache.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/winbindd_cache.c
b/source/nsswitch/winbindd_cache.c
index 841b114a78509f066555658d195226e07f3a2718..81dd85e588bfd03ae5783970deb8e62c095c28bd 100644
(file)
--- a/
source/nsswitch/winbindd_cache.c
+++ b/
source/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);