This can not distinguish between a missing param and one with an empty value.
| 137 | |
| 138 | // This can not distinguish between a missing param and one with an empty value. |
| 139 | string SipParamList::paramFind(const char*name) |
| 140 | { |
| 141 | for (SipParamList::iterator it = this->begin(); it != this->end(); it++) { |
| 142 | if (strceql(it->mName.c_str(),name)) { return it->mValue; } |
| 143 | } |
| 144 | return string(""); |
| 145 | } |
| 146 | |
| 147 | |
| 148 | struct SipParseLine { |
no test coverage detected