From: Alexander Barton Date: Fri, 25 Jun 2010 22:37:06 +0000 (+0200) Subject: const'ify command name variable in _COMMAND strcuture X-Git-Tag: rel-17-rc1~90 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8605e9c0fe7ffa42149271c9af31288bd4a0dfac;p=ngircd-alex.git const'ify command name variable in _COMMAND strcuture --- diff --git a/src/ngircd/parse.h b/src/ngircd/parse.h index a3f764ec..205dbb8d 100644 --- a/src/ngircd/parse.h +++ b/src/ngircd/parse.h @@ -30,7 +30,7 @@ typedef struct _REQUEST /* vgl. RFC 2812, 2.3 */ typedef struct _COMMAND { - char *name; /* command name */ + const char *name; /* command name */ bool (*function) PARAMS(( CLIENT *Client, REQUEST *Request )); CLIENT_TYPE type; /* valid client types (bit mask) */ long lcount, rcount; /* number of local and remote calls */