Corrected type casting in return value of wtp_add.
FossilOrigin-Name: ec958920e6ea5132ea215d69bd20f6bbd12aedc59af579c9cc3383865089a4f4
This commit is contained in:
parent
9a5c17559d
commit
d6bdc8bade
@ -109,7 +109,7 @@ struct wtpman * wtplist_get(const struct sockaddr * addr)
|
|||||||
struct wtpman * wtplist_add(struct wtpman * wtpman)
|
struct wtpman * wtplist_add(struct wtpman * wtpman)
|
||||||
{
|
{
|
||||||
wtpman->conn->data=wtpman;
|
wtpman->conn->data=wtpman;
|
||||||
return connlist_add(connlist,wtpman->conn);
|
return (struct wtpman*)connlist_add(connlist,wtpman->conn);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user