change format of error stuff
git-svn-id: https://svn.musicpd.org/mpd/trunk@1326 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
		| @@ -48,14 +48,14 @@ void finishCommands(); | |||||||
| #define commandError(fp, error, format, ... )  \ | #define commandError(fp, error, format, ... )  \ | ||||||
| 	{\ | 	{\ | ||||||
| 		if(current_command) { \ | 		if(current_command) { \ | ||||||
| 			myfprintf(fp, "ACK [%s:%i:%i] " format "\n", \ | 			myfprintf(fp, "ACK [%i@%i:%s] " format "\n", \ | ||||||
| 					current_command, command_listNum, \ | 					(int)error, command_listNum, \ | ||||||
| 					(int)error, ##__VA_ARGS__); \ | 					current_command, ##__VA_ARGS__); \ | ||||||
| 			current_command = NULL; \ | 			current_command = NULL; \ | ||||||
| 		} \ | 		} \ | ||||||
| 		else { \ | 		else { \ | ||||||
| 			myfprintf(fp, "ACK [:%i:%i] " format "\n", \ | 			myfprintf(fp, "ACK [%i@%i:] " format "\n", \ | ||||||
| 					command_listNum, (int)error, \ | 					(int)error, command_listNum, \ | ||||||
| 					##__VA_ARGS__); \ | 					##__VA_ARGS__); \ | ||||||
| 		} \ | 		} \ | ||||||
| 	} | 	} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Warren Dukes
					Warren Dukes