~chtsanti/squid/icap-max-connections

« back to all changes in this revision

Viewing changes to src/whois.cc

  • Committer: Christos Tsantilas
  • Date: 2009-02-18 22:18:35 UTC
  • mfrom: (9294.1.215 trunk)
  • Revision ID: chtsanti@users.sourceforge.net-20090218221835-lfxxe3bs8uhu0b1h
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
 
99
99
    buf = (char *)xmalloc(l);
100
100
 
101
 
    snprintf(buf, l, "%s\r\n", p->request->urlpath.unsafeBuf() + 1);
 
101
    String str_print=p->request->urlpath.substr(1,p->request->urlpath.size());
 
102
    snprintf(buf, l, SQUIDSTRINGPH"\r\n", SQUIDSTRINGPRINT(str_print));
102
103
 
103
104
    comm_write(fd, buf, strlen(buf), whoisWriteComplete, p, NULL);
104
105
    comm_read(fd, p->buf, BUFSIZ, whoisReadReply, p);