MCPcopy Create free account
hub / github.com/chen3feng/toft / SetErrorCode

Function SetErrorCode

system/net/domain_resolver.cpp:25–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23namespace toft {
24
25static void SetErrorCode(int* error_code, int value)
26{
27 if (error_code)
28 *error_code = value;
29}
30
31/////////////////////////////////////////////////////////////////////////////
32// HostEntry class implementation

Callers 1

QueryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected