mirror of
				https://github.com/SuperBFG7/ympd
				synced 2025-10-30 21:33:00 +00:00 
			
		
		
		
	ympd.c: add a break statement for the mpd port argument
Otherwise, passing -p tried to also bind the http server to MPD's port (which was already in use by MPD...)
This commit is contained in:
		| @@ -98,6 +98,7 @@ int main(int argc, char **argv) | ||||
|                 break; | ||||
|             case 'p': | ||||
|                 mpd.port = atoi(optarg); | ||||
|                 break; | ||||
|             case 'w': | ||||
|                 error_msg = mg_set_option(server, "listening_port", optarg); | ||||
|                 break; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jason Pleau
					Jason Pleau