MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / connFormatFdAddr

Function connFormatFdAddr

src/connection.cpp:417–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

415}
416
417int connFormatFdAddr(connection *conn, char *buf, size_t buf_len, int fd_to_str_type) {
418 return anetFormatFdAddr(conn ? conn->fd : -1, buf, buf_len, fd_to_str_type);
419}
420
421int connBlock(connection *conn) {
422 if (conn->fd == -1) return C_ERR;

Callers 1

genClientAddrStringFunction · 0.85

Calls 1

anetFormatFdAddrFunction · 0.85

Tested by

no test coverage detected