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:
Romain Vimont
2019-03-03 00:01:16 +01:00
parent dfed1b250e
commit 9ef345fdd0
2 changed files with 5 additions and 5 deletions

View File

@@ -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;