Home | History | Annotate | Download | only in libfetch

Lines Matching defs:hbuf

815 	char hbuf[MAXHOSTNAMELEN + 7], *host;
863 snprintf(hbuf, sizeof(hbuf), "[%s]", url->host);
864 host = hbuf;
868 if (host != hbuf) {
869 strcpy(hbuf, host);
870 host = hbuf;
872 snprintf(hbuf + strlen(hbuf),
873 sizeof(hbuf) - strlen(hbuf), ":%d", url->port);