1
0
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:
Günther Deschner 2005-12-19 03:02:56 +00:00 committed by Gerald (Jerry) Carter
parent ce5bde1e84
commit 0f20bcdbaa

View File

@ -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);