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

Function appendHeader

SIP/SIPMessage.cpp:165–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163
164
165static void appendHeader(string *result,const char *name,string value)
166{
167 if (value.empty()) return;
168 result->append(name);
169 result->append(": ");
170 result->append(value);
171 result->append("\r\n");
172}
173static void appendHeader(string *result,const char *name,const char *value)
174{
175 if (*value == 0) return;

Callers 1

smGenerateMethod · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected