mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r12341: add DEBUG statement.
Guenther
(This used to be commit d50098518d
)
This commit is contained in:
parent
ce5bde1e84
commit
0f20bcdbaa
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user