commit 8605e9c0fe7ffa42149271c9af31288bd4a0dfac from: Alexander Barton date: Fri Jun 25 22:37:06 2010 UTC const'ify command name variable in _COMMAND strcuture commit - a68103771ccdf041c426277bc3a1f8dc345f3642 commit + 8605e9c0fe7ffa42149271c9af31288bd4a0dfac blob - a3f764ece38587c22fca60ed344b74e6e1e1ca55 blob + 205dbb8dfb83d0a01e67cb194b4a0ea5d0a1924d --- src/ngircd/parse.h +++ 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 */