]> code.citadel.org Git - citadel.git/blobdiff - citadel/policy.c
* The size constant "256" which shows up everywhere as a buffer size has now
[citadel.git] / citadel / policy.c
index 2415c124fe024cdfca4e91b02def5a5d63633859..1ae97f38b78a48edfc717269742b78e89965843f 100644 (file)
@@ -55,7 +55,7 @@ void GetExpirePolicy(struct ExpirePolicy *epbuf, struct quickroom *qrbuf) {
 void cmd_gpex(char *argbuf) {
        struct ExpirePolicy exp;
        struct floor flbuf;
-       char which[256];
+       char which[SIZ];
 
        extract(which, argbuf, 0);
        if (!strcasecmp(which, "room")) {
@@ -83,7 +83,7 @@ void cmd_gpex(char *argbuf) {
 void cmd_spex(char *argbuf) {
        struct ExpirePolicy exp;
        struct floor flbuf;
-       char which[256];
+       char which[SIZ];
 
        memset(&exp, 0, sizeof(struct ExpirePolicy));
        extract(which, argbuf, 0);