Optimized iterator. Preincrement saves a temporary copy of the object (thanks

to Ville Skytt)
This commit is contained in:
Frank Schmirler 2011-11-21 12:51:30 +01:00
parent f9224d0618
commit 20c931ac6d

View File

@ -141,7 +141,7 @@ cTSExt::cTSExt(cRingBufferLinear *ResultBuffer, const cServerConnection *Connect
ADDENV("SERVER_PROTOCOL=%s", Connection->Protocol());
ADDENV("SERVER_SOFTWARE=%s", VERSION);
for (tStrStrMap::const_iterator it = Connection->Headers().begin(); it != Connection->Headers().end(); it++) {
for (tStrStrMap::const_iterator it = Connection->Headers().begin(); it != Connection->Headers().end(); ++it) {
if (i >= MAXENV) {
esyslog("streamdev-server: Too many headers for externremux.sh");
break;