mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 23:55:57 -05:00
[misc] 'unsigned short' instead of 'short unsigned' as arg to net_evhttp_bind()
This commit is contained in:
parent
316d932d99
commit
2e31a3d4f3
@ -375,7 +375,7 @@ net_bind(short unsigned *port, int type, const char *log_service_name)
|
||||
}
|
||||
|
||||
int
|
||||
net_evhttp_bind(struct evhttp *evhttp, short unsigned port, const char *log_service_name)
|
||||
net_evhttp_bind(struct evhttp *evhttp, unsigned short port, const char *log_service_name)
|
||||
{
|
||||
const char *bind_address;
|
||||
bool v6_enabled;
|
||||
|
@ -55,7 +55,7 @@ int
|
||||
net_bind(short unsigned *port, int type, const char *log_service_name);
|
||||
|
||||
int
|
||||
net_evhttp_bind(struct evhttp *evhttp, short unsigned port, const char *log_service_name);
|
||||
net_evhttp_bind(struct evhttp *evhttp, unsigned short port, const char *log_service_name);
|
||||
|
||||
// Just checks if the protocol is http or https
|
||||
bool
|
||||
|
Loading…
Reference in New Issue
Block a user