MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / net_printf

Function net_printf

modules/xmpp/network.c:148–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148int net_printf(int fd, char *format, ...)
149{
150 va_list args;
151 char buf[4096];
152
153 va_start(args, format);
154 vsnprintf(buf, sizeof(buf) - 1, format, args);
155 va_end(args);
156
157 LM_DBG("net_printf: [%s]\n", buf);
158
159 return net_send(fd, buf, strlen(buf));
160}
161
162char *net_read_static(int fd)
163{

Callers 3

in_stream_node_callbackFunction · 0.85

Calls 1

net_sendFunction · 0.85

Tested by

no test coverage detected