mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
(libT) d'oh, left out an important line last night while testing the rpc server w/softwareelves
This commit is contained in:
parent
59e5e7c95b
commit
c55a20b074
1 changed files with 1 additions and 0 deletions
|
@ -409,6 +409,7 @@ startServer( tr_rpc_server * server )
|
||||||
fprintf( stderr, "%s:%d in startServer; new context is %p\n", __FILE__, __LINE__, server->httpd );
|
fprintf( stderr, "%s:%d in startServer; new context is %p\n", __FILE__, __LINE__, server->httpd );
|
||||||
i = evhttp_bind_socket( server->httpd, "0.0.0.0", server->port );
|
i = evhttp_bind_socket( server->httpd, "0.0.0.0", server->port );
|
||||||
fprintf( stderr, "evhttp_bind_socket returned %d\n", i );
|
fprintf( stderr, "evhttp_bind_socket returned %d\n", i );
|
||||||
|
evhttp_set_gencb( server->httpd, handle_request, server );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue