diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2013-02-13 13:49:19 +0100 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2013-02-13 17:24:03 +0400 |
commit | f03ef414d049948962b28e4d78c4022c192f7ea1 (patch) | |
tree | fe1c5e8bd14989ac0e82c8f517e92c4eba2ee679 /accel-pppd/ctrl/l2tp/dict.c | |
parent | a91e53c79225217513d08b186d6d03f8306a559e (diff) | |
download | accel-ppp-f03ef414d049948962b28e4d78c4022c192f7ea1.tar.gz accel-ppp-f03ef414d049948962b28e4d78c4022c192f7ea1.zip |
l2tp: Define option variables as constant
Add const qualifiers to the string used for reading configuration.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/ctrl/l2tp/dict.c')
-rw-r--r-- | accel-pppd/ctrl/l2tp/dict.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/l2tp/dict.c b/accel-pppd/ctrl/l2tp/dict.c index 1a507fd6..f1454499 100644 --- a/accel-pppd/ctrl/l2tp/dict.c +++ b/accel-pppd/ctrl/l2tp/dict.c @@ -260,7 +260,7 @@ static int l2tp_dict_load(const char *fname) static void dict_init(void) { - char *opt; + const char *opt; opt = conf_get_opt("l2tp", "dictionary"); if (!opt) |