summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-01-04 16:02:53 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-01-04 16:02:53 +0100
commit6aa3b1b12ae4b753d384472f3935d5e66584a518 (patch)
treed2e73b008ee82ba57875015ac8d3a000c701677d
parent8d2ccbd7e576f47652fb58b0e16f40befb8ac8f6 (diff)
downloadfastd-6aa3b1b12ae4b753d384472f3935d5e66584a518.tar
fastd-6aa3b1b12ae4b753d384472f3935d5e66584a518.zip
Move const specifiers in handshake record names to the correct place
-rw-r--r--src/handshake.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/handshake.c b/src/handshake.c
index 28a8ec1..15d171f 100644
--- a/src/handshake.c
+++ b/src/handshake.c
@@ -32,7 +32,7 @@
#include "task.h"
-static const char const *RECORD_TYPES[RECORD_MAX] = {
+static const char *const RECORD_TYPES[RECORD_MAX] = {
"handshake type",
"reply code",
"error detail",
@@ -50,7 +50,7 @@ static const char const *RECORD_TYPES[RECORD_MAX] = {
"method list",
};
-static const char const *REPLY_TYPES[REPLY_MAX] = {
+static const char *const REPLY_TYPES[REPLY_MAX] = {
"success",
"mandatory field missing",
"unacceptable value",