(rpc) possible fix for the new breakage caused by the shttpd upgrade in r6349
This commit is contained in:
parent
f19dac5ea6
commit
6ffe3bcec5
|
@ -367,6 +367,8 @@ startServer( tr_rpc_server * server )
|
|||
"/transmission/web", clutchDir );
|
||||
}
|
||||
|
||||
argv[argc++] = NULL; /* shttpd_init() wants it null-terminated */
|
||||
|
||||
server->ctx = shttpd_init( argc, argv );
|
||||
shttpd_register_uri( server->ctx, "/transmission/rpc", handle_rpc, server );
|
||||
shttpd_register_uri( server->ctx, "/transmission/upload", handle_upload, server );
|
||||
|
|
Loading…
Reference in New Issue