MCPcopy Index your code
hub / github.com/RsyncProject/rsync / rerr_name

Function rerr_name

log.c:112–120  ·  view source on GitHub ↗

* Map from rsync error code to name, or return NULL. */

Source from the content-addressed store, hash-verified

110 * Map from rsync error code to name, or return NULL.
111 */
112static char const *rerr_name(int code)
113{
114 int i;
115 for (i = 0; rerr_names[i].name; i++) {
116 if (rerr_names[i].code == code)
117 return rerr_names[i].name;
118 }
119 return NULL;
120}
121
122static void logit(int priority, const char *buf)
123{

Callers 1

log_exitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected