aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.h
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-04 03:03:48 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-04 03:03:48 +0000
commit915af1e09366c891b4999055474831fc1c2e8be3 (patch)
tree48af5cbe181efc258469881cac1e84eb26e475e9 /src/command.h
parentfd06660e0b4e0e6635c80e3631cbf0df2fcbf4e6 (diff)
downloadmpd-915af1e09366c891b4999055474831fc1c2e8be3.tar.gz
mpd-915af1e09366c891b4999055474831fc1c2e8be3.tar.xz
mpd-915af1e09366c891b4999055474831fc1c2e8be3.zip
add ack.h and change format of error again
git-svn-id: https://svn.musicpd.org/mpd/trunk@1327 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/command.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.h b/src/command.h
index 2630623e2..85a3683a4 100644
--- a/src/command.h
+++ b/src/command.h
@@ -48,13 +48,13 @@ void finishCommands();
#define commandError(fp, error, format, ... ) \
{\
if(current_command) { \
- myfprintf(fp, "ACK [%i@%i:%s] " format "\n", \
+ myfprintf(fp, "ACK [%i@%i] {%s} " format "\n", \
(int)error, command_listNum, \
current_command, ##__VA_ARGS__); \
current_command = NULL; \
} \
else { \
- myfprintf(fp, "ACK [%i@%i:] " format "\n", \
+ myfprintf(fp, "ACK [%i@%i] " format "\n", \
(int)error, command_listNum, \
##__VA_ARGS__); \
} \