command.c: fix a format-string error (go sparse!)
git-svn-id: https://svn.musicpd.org/mpd/trunk@4356 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
		@@ -218,7 +218,7 @@ static int handlePause(FILE * fp, unsigned int * permission,
 | 
				
			|||||||
		char * test;
 | 
							char * test;
 | 
				
			||||||
                int pause = strtol(argArray[1],&test,10);
 | 
					                int pause = strtol(argArray[1],&test,10);
 | 
				
			||||||
                if(*test!='\0' || (pause!=0 && pause!=1)) {
 | 
					                if(*test!='\0' || (pause!=0 && pause!=1)) {
 | 
				
			||||||
                        commandError(fp, ACK_ERROR_ARG, "\%s\" is not 0 or 1", argArray[1]);
 | 
					                        commandError(fp, ACK_ERROR_ARG, "\"%s\" is not 0 or 1", argArray[1]);
 | 
				
			||||||
                        return -1;
 | 
					                        return -1;
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
		return playerSetPause(fp,pause);
 | 
							return playerSetPause(fp,pause);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user