Make owned serial a pointer-to-non-const
The server owns the serial, so it needs to free it. Therefore, it should not be a pointer-to-const.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#include "net.h"
|
||||
|
||||
struct server {
|
||||
const char *serial;
|
||||
char *serial;
|
||||
process_t process;
|
||||
socket_t server_socket; // only used if !tunnel_forward
|
||||
socket_t device_socket;
|
||||
|
||||
Reference in New Issue
Block a user