MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / spError

Method spError

SIP/SIPParse.cpp:502–506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 1

SipParseErrorClass · 0.85

Tested by

no test coverage detected