| 500 | } |
| 501 | |
| 502 | void spError(const char *msg) { |
| 503 | if (eolp) { *eolp = '\r'; } // Make the buffer printable again. |
| 504 | logError(msg); |
| 505 | throw SipParseError(); |
| 506 | } |
| 507 | |
| 508 | // Return true if there is another line, and nul terminate it; false when the header is complete. |
| 509 | // Buffer is modified in place. Line continuations are removed by substituting spaces for the CR,NL. |
nothing calls this directly
no test coverage detected