aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-04 03:00:27 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-04 03:00:27 +0000
commitfd06660e0b4e0e6635c80e3631cbf0df2fcbf4e6 (patch)
treec9d2af93061951d1e161a4951904a8758999f9ba /src
parent630d33b234dc116ca175c847abf4ca38e64d52fe (diff)
downloadmpd-fd06660e0b4e0e6635c80e3631cbf0df2fcbf4e6.tar.gz
mpd-fd06660e0b4e0e6635c80e3631cbf0df2fcbf4e6.tar.xz
mpd-fd06660e0b4e0e6635c80e3631cbf0df2fcbf4e6.zip
change format of error stuff
git-svn-id: https://svn.musicpd.org/mpd/trunk@1326 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/command.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/command.h b/src/command.h
index 08263ef97..2630623e2 100644
--- a/src/command.h
+++ b/src/command.h
@@ -48,14 +48,14 @@ void finishCommands();
#define commandError(fp, error, format, ... ) \
{\
if(current_command) { \
- myfprintf(fp, "ACK [%s:%i:%i] " format "\n", \
- current_command, command_listNum, \
- (int)error, ##__VA_ARGS__); \
+ 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", \
- command_listNum, (int)error, \
+ myfprintf(fp, "ACK [%i@%i:] " format "\n", \
+ (int)error, command_listNum, \
##__VA_ARGS__); \
} \
}