From: Gonzalo A. <ga...@us...> - 2006-10-04 17:03:45
|
Update of /cvsroot/mod-c/ehtml/src In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv1480/src Modified Files: Request.cpp Log Message: * Removed final EOL in debugging messages. Index: Request.cpp =================================================================== RCS file: /cvsroot/mod-c/ehtml/src/Request.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Request.cpp 17 Sep 2006 22:39:28 -0000 1.10 --- Request.cpp 4 Oct 2006 17:03:36 -0000 1.11 *************** *** 155,165 **** const string* Request::GetCookie(const string& name) const { ProfileMe(); ! Debug("Looking for %s\n", name.c_str()); string s = name + "="; for (HeaderEntryList::const_iterator i = HeaderCookies.begin(); i != HeaderCookies.end(); ++i) { ! Debug("cmp %s =? %s\n", name.c_str(), (*i)->Value); if (!strncmp((*i)->Value, s.c_str(), s.length())) { ! Debug("got it! (%s)\n", (*i)->Value + name.length()+1); cookies_returned.push_front(string((*i)->Value + name.length()+1)); return &*cookies_returned.begin(); --- 155,165 ---- const string* Request::GetCookie(const string& name) const { ProfileMe(); ! Debug("Looking for %s", name.c_str()); string s = name + "="; for (HeaderEntryList::const_iterator i = HeaderCookies.begin(); i != HeaderCookies.end(); ++i) { ! Debug("cmp %s =? %s", name.c_str(), (*i)->Value); if (!strncmp((*i)->Value, s.c_str(), s.length())) { ! Debug("got it! (%s)", (*i)->Value + name.length()+1); cookies_returned.push_front(string((*i)->Value + name.length()+1)); return &*cookies_returned.begin(); |