if (!c1) {
c1 = blobmsg_open_table(&b, buffer);
}
- snprintf(buffer, MAX_NAME_LEN, "%s", (const char *) s->entry);
+ snprintf(buffer, MAX_NAME_LEN, "%s", s->entry);
local = strstr(buffer, "._");
if (local)
*local = '\0';
char *local;
if (!cache_service_is_host(s))
continue;
- snprintf(buffer, MAX_NAME_LEN, "%s", (const char *) s->entry);
+ snprintf(buffer, MAX_NAME_LEN, "%s", s->entry);
local = strstr(buffer, "._");
if (local)
*local = '\0';