/[anubis]/anubis/src/rc.c
ViewVC logotype

Diff of /anubis/src/rc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by gray, Sat May 10 09:02:06 2003 UTC revision 1.21 by polak, Sun Jun 29 19:03:38 2003 UTC
# Line 156  process_rcfile(int method) Line 156  process_rcfile(int method)
156  #define KW_SOCKS_V4           10  #define KW_SOCKS_V4           10
157  #define KW_SOCKS_AUTH         11  #define KW_SOCKS_AUTH         11
158  #define KW_READ_ENTIRE_BODY   12  #define KW_READ_ENTIRE_BODY   12
159    #define KW_DROP_UNKNOWN_USER  13
160    
161  char **  char **
162  list_to_argv(LIST *list)  list_to_argv(LIST *list)
# Line 276  control_parser(int method, int key, LIST Line 277  control_parser(int method, int key, LIST
277          case KW_READ_ENTIRE_BODY:          case KW_READ_ENTIRE_BODY:
278                  setbool(arg, topt, T_ENTIRE_BODY);                  setbool(arg, topt, T_ENTIRE_BODY);
279                  break;                  break;
280                    
281            case KW_DROP_UNKNOWN_USER:
282                    setbool(arg, topt, T_DROP_UNKNOWN_USER);
283                    break;
284    
285          default:          default:
286                  return RC_KW_UNKNOWN;                  return RC_KW_UNKNOWN;
287          }          }
# Line 333  struct rc_kwdef control_kw[] = { Line 338  struct rc_kwdef control_kw[] = {
338          { "socks-v4", KW_SOCKS_V4 },          { "socks-v4", KW_SOCKS_V4 },
339          { "socks-auth", KW_SOCKS_AUTH },          { "socks-auth", KW_SOCKS_AUTH },
340          { "read-entire-body", KW_READ_ENTIRE_BODY },          { "read-entire-body", KW_READ_ENTIRE_BODY },
341            { "drop-unknown-user", KW_DROP_UNKNOWN_USER },
342          { NULL },          { NULL },
343  };  };
344    

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26