fix C99 stuff for commandError
also some slight optimizations to interfacePrintWithFD() and myfprintf() git-svn-id: https://svn.musicpd.org/mpd/trunk@1503 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
@@ -50,13 +50,13 @@ void finishCommands();
|
||||
if(current_command) { \
|
||||
myfprintf(fp, "ACK [%i@%i] {%s} " format "\n", \
|
||||
(int)error, command_listNum, \
|
||||
current_command, ##__VA_ARGS__); \
|
||||
current_command, __VA_ARGS__); \
|
||||
current_command = NULL; \
|
||||
} \
|
||||
else { \
|
||||
myfprintf(stderr, "ACK [%i@%i] " format "\n", \
|
||||
(int)error, command_listNum, \
|
||||
##__VA_ARGS__); \
|
||||
__VA_ARGS__); \
|
||||
} \
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user