From 2206f050588c30316ee651b8a4e92cdda92caf86 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sat, 4 Nov 2000 01:31:17 +0000 Subject: [PATCH] Changed protocol to const char* to eliminate gcc compile error. --- src/sbbs3/client.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/sbbs3/client.h b/src/sbbs3/client.h index 18a1b42031..41d3d6aed2 100644 --- a/src/sbbs3/client.h +++ b/src/sbbs3/client.h @@ -44,14 +44,14 @@ #include <time.h> /* time_t */ typedef struct { - size_t size; /* size of this struct */ - char addr[16]; /* IP address */ - char host[64]; /* host name */ - WORD port; /* TCP port number */ - time_t time; /* connect time */ - char* protocol; /* protocol description */ - char* user; /* user name */ - char pad[32]; /* padding for future expansion */ + size_t size; /* size of this struct */ + char addr[16]; /* IP address */ + char host[64]; /* host name */ + WORD port; /* TCP port number */ + time_t time; /* connect time */ + const char* protocol; /* protocol description */ + char* user; /* user name */ + char pad[32]; /* padding for future expansion */ } client_t; #endif /* Don't add anything after this line */ \ No newline at end of file -- GitLab