Make Message.cmd a const pointer.
This commit is contained in:
parent
26716d6d40
commit
d48a559768
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ struct MessageEntry
|
||||||
/* Message table structure */
|
/* Message table structure */
|
||||||
struct Message
|
struct Message
|
||||||
{
|
{
|
||||||
char *cmd;
|
const char *cmd;
|
||||||
unsigned int count; /* number of times command used */
|
unsigned int count; /* number of times command used */
|
||||||
unsigned int rcount; /* number of times command used by server */
|
unsigned int rcount; /* number of times command used by server */
|
||||||
unsigned long bytes; /* bytes received for this message */
|
unsigned long bytes; /* bytes received for this message */
|
||||||
|
|
Loading…
Reference in a new issue