~chtsanti/squid/icap-max-connections

« back to all changes in this revision

Viewing changes to src/ESICustomParser.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:
109
109
    }
110
110
 
111
111
    size_t openESITags (0);
112
 
    char const *currentPos = content.unsafeBuf();
 
112
    //erring on the safe side. Probably rawBuf would be ok too
 
113
    char const *currentPos = content.termedBuf();
113
114
    size_t remainingCount = content.size();
114
115
    char const *tag = NULL;
115
116
 
302
303
ESICustomParser::errorString() const
303
304
{
304
305
    if (error.size())
305
 
        return error.unsafeBuf();
 
306
        return error.termedBuf();
306
307
    else
307
308
        return "Parsing error strings not implemented";
308
309
}