From fd06660e0b4e0e6635c80e3631cbf0df2fcbf4e6 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Fri, 4 Jun 2004 03:00:27 +0000 Subject: change format of error stuff git-svn-id: https://svn.musicpd.org/mpd/trunk@1326 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/command.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/command.h') diff --git a/src/command.h b/src/command.h index 08263ef9..2630623e 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__); \ } \ } -- cgit v1.2.3