|
@@ -201,7 +201,7 @@ void send_shortlist_do_sends();
|
|
|
|
|
|
// Reuseable global packet buffer to prevent too many allocations
|
|
|
// Take socket.cpp::socket_max_client_packet into consideration
|
|
|
-static int8 packet_buffer[UINT16_MAX];
|
|
|
+extern int8 packet_buffer[UINT16_MAX];
|
|
|
|
|
|
template <typename P>
|
|
|
bool socket_send( int fd, P& packet ){
|