mirror of
				https://github.com/SuperBFG7/ympd
				synced 2025-10-31 13:53:00 +00:00 
			
		
		
		
	outputs: clear possible error
This commit is contained in:
		| @@ -465,7 +465,10 @@ int mpd_put_outputs(char *buffer, int names) | ||||
|                     mpd_output_get_id(out), mpd_output_get_enabled(out)); | ||||
|         mpd_output_free(out); | ||||
|     } | ||||
|     mpd_response_finish(mpd.conn); | ||||
|     if (!mpd_response_finish(mpd.conn)) { | ||||
|         mpd_connection_clear_error(mpd.conn); | ||||
|         return NULL; | ||||
|     } | ||||
|     str += snprintf(str, strend-str, " }}"); | ||||
|     return str-buffer; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kurt Van Dijck
					Kurt Van Dijck