diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-06-04 03:00:27 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-06-04 03:00:27 +0000 |
commit | fd06660e0b4e0e6635c80e3631cbf0df2fcbf4e6 (patch) | |
tree | c9d2af93061951d1e161a4951904a8758999f9ba /src | |
parent | 630d33b234dc116ca175c847abf4ca38e64d52fe (diff) | |
download | mpd-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.h | 10 |
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__); \ } \ } |