MCPcopy Create free account
hub / github.com/antirez/ds4 / parse_float_range

Function parse_float_range

ds4_cli.c:155–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153 if (ticks) fprintf(stderr, "ds4: distributed route ready\n");
154 return 0;
155 }
156 if (ready < 0) {
157 fprintf(stderr,
158 "ds4: distributed route readiness failed: %s\n",
159 err[0] ? err : "unknown error");
160 return 1;
161 }
162
163 const char *why = err[0] ? err : "route incomplete";
164 if (strcmp(last, why) != 0 || (ticks % 20u) == 0) {
165 fprintf(stderr, "ds4: waiting for distributed route: %s\n", why);
166 snprintf(last, sizeof(last), "%s", why);

Callers 1

parse_optionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected