1
0
mirror of https://github.com/SuperBFG7/ympd synced 2025-11-25 17:54:48 +00:00

Removed obsolet options

This commit is contained in:
jcorporation
2018-06-14 21:24:26 +01:00
parent 290d591c39
commit 325094f6e7
3 changed files with 2 additions and 7 deletions

View File

@@ -79,7 +79,6 @@ static void ev_handler(struct mg_connection *nc, int ev, void *ev_data) {
#endif
if (mg_vcmp(&hm->uri, "/api") == 0) {
handle_api(nc, hm);
}
else {
mg_serve_http(nc, hm, s_http_server_opts);
@@ -131,7 +130,7 @@ int main(int argc, char **argv)
{0, 0, 0, 0 }
};
while((n = getopt_long(argc, argv, "D:h:p:l:w:u:d:vm:s:i:",
while((n = getopt_long(argc, argv, "D:h:p:w:u:vm:s:i:",
long_options, &option_index)) != -1) {
switch (n) {
case 'D':