clang-format only

This commit is contained in:
Mike Brady
2017-11-12 14:25:09 +01:00
parent 827fa5a5b0
commit 532c77eb23
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -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
View File
@@ -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