clang-format only
This commit is contained in:
+4
-4
@@ -86,12 +86,12 @@ static void resolve_callback(AvahiServiceResolver *r, AVAHI_GCC_UNUSED AvahiIfIn
|
||||
if (*p != port) {
|
||||
debug(1, "Client's DACP port: %u.", port);
|
||||
*p = port;
|
||||
#ifdef CONFIG_METADATA
|
||||
#ifdef CONFIG_METADATA
|
||||
char portstring[20];
|
||||
memset(portstring,0,sizeof(portstring));
|
||||
memset(portstring, 0, sizeof(portstring));
|
||||
sprintf(portstring, "%u", port);
|
||||
send_ssnc_metadata('dapo', strdup(portstring), strlen(portstring), 0);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
}
|
||||
} else {
|
||||
@@ -449,7 +449,7 @@ void avahi_dacp_dont_monitor(void **private_pointer) {
|
||||
free((char *)(*pdbs));
|
||||
*pdbs = NULL;
|
||||
} else {
|
||||
debug(1,"DHCP Monitor is not running.");
|
||||
debug(1, "DHCP Monitor is not running.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -64,7 +64,7 @@ static int fork_execvp(const char *file, char *const argv[]) {
|
||||
// If we reach this point then execve has failed.
|
||||
// Write erno's value into the pipe and exit.
|
||||
int ignore = write(execpipe[1], &errno, sizeof(errno));
|
||||
debug(1,"execve has failed.");
|
||||
debug(1, "execve has failed.");
|
||||
_exit(-1);
|
||||
return 0; // Just to make the compiler happy.
|
||||
} else { // Parent
|
||||
|
||||
Reference in New Issue
Block a user