SCCS-vsn: usr.sbin/sendmail/src/udb.c 8.2
#ifndef lint
#ifdef USERDB
#ifndef lint
#ifdef USERDB
-static char sccsid [] = "@(#)udb.c 8.1 (Berkeley) %G% (with USERDB)";
+static char sccsid [] = "@(#)udb.c 8.2 (Berkeley) %G% (with USERDB)";
-static char sccsid [] = "@(#)udb.c 8.1 (Berkeley) %G% (without USERDB)";
+static char sccsid [] = "@(#)udb.c 8.2 (Berkeley) %G% (without USERDB)";
key.data = keybuf;
key.size = keylen;
if (tTd(28, 80))
key.data = keybuf;
key.size = keylen;
if (tTd(28, 80))
- printf("udbexpand: trying %s\n", keybuf);
+ printf("udbexpand: trying %s (%d)\n",
+ keybuf, keylen);
i = (*up->udb_dbp->seq)(up->udb_dbp, &key, &info, R_CURSOR);
if (i > 0 || info.size <= 0)
{
if (tTd(28, 2))
i = (*up->udb_dbp->seq)(up->udb_dbp, &key, &info, R_CURSOR);
if (i > 0 || info.size <= 0)
{
if (tTd(28, 2))
- printf("udbexpand: no match on %s\n", keybuf);
+ printf("udbexpand: no match on %s (%d)\n",
+ keybuf, keylen);
continue;
}
if (tTd(28, 80))
continue;
}
if (tTd(28, 80))
if (i != 0 || info.size <= 0)
{
if (tTd(28, 2))
if (i != 0 || info.size <= 0)
{
if (tTd(28, 2))
- printf("udbsender: no match on %s\n",
- keybuf);
+ printf("udbsender: no match on %s (%d)\n",
+ keybuf, keylen);