aboutsummaryrefslogtreecommitdiff
path: root/fcgi.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-03-19 11:02:42 +0000
committerOmar Polo <op@omarpolo.com>2022-03-19 11:02:42 +0000
commite5d82d9472513ef742dbb0b5ac451337625feb58 (patch)
treef702b4f52830b6a8c111071b3f7d48213229d2eb /fcgi.c
parent9db5e7051ebb37a9078e79ca46daf7f8f8f3f963 (diff)
const-ify some tables
matches found with % grep -R '=[ ]*{' . | fgrep -v const
Diffstat (limited to 'fcgi.c')
-rw-r--r--fcgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fcgi.c b/fcgi.c
index 6fbb21b..6e67ea7 100644
--- a/fcgi.c
+++ b/fcgi.c
@@ -171,7 +171,7 @@ fcgi_send_param(struct bufferevent *bev, const char *name,
uint32_t namlen, vallen, padlen;
uint8_t s[8];
size_t size;
- char padding[8] = { 0 };
+ const char padding[8] = { 0 };
namlen = strlen(name);
vallen = strlen(value);