Commit 2336d02707e21dc20781db73e6fc178e695264c4
1 parent
e97e12c3
Use integer type for m_socket to store GVOHub socket.
Showing
1 changed file
with
1 additions
and
1 deletions
include/GVOHub.hpp
| ... | ... | @@ -138,7 +138,7 @@ protected: |
| 138 | 138 | std::string m_hub_path; //!< Hub path |
| 139 | 139 | std::string m_version; //!< The version of the SAMP Standard Profile implemented by the hub |
| 140 | 140 | std::string m_hub_id; //!< Hub identifier used by the hub when it sends message itself rather than forwarding from others |
| 141 | - socklen_t m_socket; //!< Hub socket | |
| 141 | + int m_socket; //!< Hub socket | |
| 142 | 142 | bool m_shutdown; //!< Shutdown request |
| 143 | 143 | std::vector<client> m_clients; //!< Clients |
| 144 | 144 | }; | ... | ... |