Lines Matching refs:hbuf
3415 static char hbuf[MAXNAME + MAXAUTHINFO + 11]; local
3436 (void) sm_strlcpyn(hbuf, sizeof(hbuf), 2, RealUserName,
3439 sm_dprintf("getauthinfo: %s\n", hbuf);
3440 return hbuf;
3706 (void) sm_strlcpy(hbuf, "IDENT:", sizeof(hbuf));
3707 cleanstrcpy(&hbuf[6], p, MAXAUTHINFO);
3710 cleanstrcpy(hbuf, p, MAXAUTHINFO);
3711 len = strlen(hbuf);
3712 (void) sm_strlcpyn(&hbuf[len], sizeof(hbuf) - len, 2, "@",
3745 (void) sm_strlcpy(hbuf, RealHostName, sizeof(hbuf));
3806 p = &hbuf[strlen(hbuf)];
3807 l = sizeof(hbuf) - (hbuf - p) - 6;
3808 (void) sm_snprintf(p, SPACELEFT(hbuf, p),
3827 SPACELEFT(hbuf, p),
3847 (void) sm_snprintf(p, SPACELEFT(hbuf, p), "]");
3855 p = &hbuf[strlen(hbuf)];
3856 (void) sm_snprintf(p, SPACELEFT(hbuf, p), " [%.100s]",
3861 p = &hbuf[strlen(hbuf)];
3862 (void) sm_strlcpy(p, " (may be forged)", SPACELEFT(hbuf, p));
3890 sm_dprintf("getauthinfo: %s\n", hbuf);
3891 return hbuf;
3936 char hbuf[MAXNAME + 1]; local
4026 (void) sm_strlcpy(hbuf, name, sizeof(hbuf));
4027 if (getcanonname(hbuf, sizeof(hbuf) - 1, !HasWildcardMX, &ttl))
4029 ans = hbuf;