~chtsanti/squid/icap-max-connections

« back to all changes in this revision

Viewing changes to src/HttpHdrCc.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:
235
235
        if (EBIT_TEST(cc->mask, flag) && flag != CC_OTHER) {
236
236
 
237
237
            /* print option name */
238
 
            packerPrintf(p, (pcount ? ", %.*s" : "%.*s"),
239
 
                CcFieldsInfo[flag].name.size(),
240
 
                CcFieldsInfo[flag].name.rawBuf());
 
238
            packerPrintf(p, (pcount ? ", " SQUIDSTRINGPH : SQUIDSTRINGPH),
 
239
                SQUIDSTRINGPRINT(CcFieldsInfo[flag].name));
241
240
 
242
241
            /* handle options with values */
243
242
 
254
253
        }
255
254
    }
256
255
 
257
 
    if (cc->other.size())
258
 
        packerPrintf(p, (pcount ? ", %.*s" : "%.*s"),
259
 
            cc->other.size(), cc->other.rawBuf());
 
256
    if (cc->other.size() != 0)
 
257
        packerPrintf(p, (pcount ? ", " SQUIDSTRINGPH : SQUIDSTRINGPH),
 
258
            SQUIDSTRINGPRINT(cc->other));
260
259
}
261
260
 
262
261
/* negative max_age will clean old max_Age setting */