diff options
author | Dai Sato <satodai@w3m.jp> | 2006-04-07 15:48:56 +0000 |
---|---|---|
committer | Dai Sato <satodai@w3m.jp> | 2006-04-07 15:48:56 +0000 |
commit | db790bfd2b16f5ff8b69d5411b3cabd1799f81df (patch) | |
tree | 6b710dada32645acbcb9caec54831b9d5689698f /rc.c | |
parent | Replace '\n' (newline) with ' ' (space) in attributes of html tags. (diff) | |
download | w3m-db790bfd2b16f5ff8b69d5411b3cabd1799f81df.tar.gz w3m-db790bfd2b16f5ff8b69d5411b3cabd1799f81df.zip |
Introduce option show_cookie and set it TRUE by default.
Diffstat (limited to 'rc.c')
-rw-r--r-- | rc.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: rc.c,v 1.101 2006/04/07 13:21:12 inu Exp $ */ +/* $Id: rc.c,v 1.102 2006/04/07 15:48:56 inu Exp $ */ /* * Initialization file etc. */ @@ -192,6 +192,7 @@ static int OptionEncode = FALSE; #endif /* USE_SSL */ #ifdef USE_COOKIE #define CMT_USECOOKIE N_("Enable cookie processing") +#define CMT_SHOWCOOKIE N_("Print a message when receiving a cookie") #define CMT_ACCEPTCOOKIE N_("Accept cookies") #define CMT_ACCEPTBADCOOKIE N_("Action to be taken on invalid cookie") #define CMT_COOKIE_REJECT_DOMAINS N_("Domains to reject cookies from") @@ -552,6 +553,8 @@ struct param_ptr params7[] = { #ifdef USE_COOKIE struct param_ptr params8[] = { {"use_cookie", P_INT, PI_ONOFF, (void *)&use_cookie, CMT_USECOOKIE, NULL}, + {"show_cookie", P_INT, PI_ONOFF, (void *)&show_cookie, + CMT_SHOWCOOKIE, NULL}, {"accept_cookie", P_INT, PI_ONOFF, (void *)&accept_cookie, CMT_ACCEPTCOOKIE, NULL}, {"accept_bad_cookie", P_INT, PI_SEL_C, (void *)&accept_bad_cookie, |