X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fseshigh.c;h=1d709aac0a83c844701674569c3227170b527d29;hb=1fbd038d97d6e1bfe97270ecc17cca123bcc435c;hp=0a3f9fac901a31ad170235f0634348b17772ab7c;hpb=c1250b6b91fc106645f28bff1d6188936434a494;p=yaz-moved-to-github.git diff --git a/src/seshigh.c b/src/seshigh.c index 0a3f9fa..1d709aa 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -540,6 +540,9 @@ static int srw_bend_init(association *assoc, Z_SRW_diagnostic **d, int *num, Z_S len = strlen(sr->username) + 1; if (sr->password) len += strlen(sr->password) + 2; + yaz_log(log_requestdetail, "username=%s password-len=%ld", + sr->username, (long) + (sr->password ? strlen(sr->password) : 0)); auth->which = Z_IdAuthentication_open; auth->u.open = (char *) odr_malloc(assoc->decode, len); strcpy(auth->u.open, sr->username);