Commit dab2a03e dab2a03e9ed8ca6f5ba9937b7adf7cd40b284edd by Sergey Poznyakoff

(_tls_argp_parser): Take care not to pass NULL as the argument to the "tls" statement.

1 parent aaa222bb
1 2008-03-15 Sergey Poznyakoff <gray@gnu.org.ua>
2
3 * libargp/tls.c (_tls_argp_parser): Take care not to pass NULL as
4 the argument to the "tls" statement.
5
1 2008-03-07 Sergey Poznyakoff <gray@gnu.org.ua> 6 2008-03-07 Sergey Poznyakoff <gray@gnu.org.ua>
2 7
3 * comsat/comsat.c, imap4d/imap4d.c, imap4d/preauth.c, 8 * comsat/comsat.c, imap4d/imap4d.c, imap4d/preauth.c,
......
...@@ -38,7 +38,7 @@ static struct argp_option mu_radius_argp_option[] = { ...@@ -38,7 +38,7 @@ static struct argp_option mu_radius_argp_option[] = {
38 { "radius-getpwuid-request", OPT_GETPWUID_REQUEST, N_("REQUEST"), OPTION_HIDDEN, 38 { "radius-getpwuid-request", OPT_GETPWUID_REQUEST, N_("REQUEST"), OPTION_HIDDEN,
39 N_("Radius request to retrieve a passwd entry based on UID"), 0 }, 39 N_("Radius request to retrieve a passwd entry based on UID"), 0 },
40 { "radius-directory", OPT_RADIUS_DIR, N_("DIR"), OPTION_HIDDEN, 40 { "radius-directory", OPT_RADIUS_DIR, N_("DIR"), OPTION_HIDDEN,
41 N_("Set path to the radius configuration directory"), 0 }, 41 N_("Set name of the radius configuration directory"), 0 },
42 { NULL } 42 { NULL }
43 }; 43 };
44 44
......
...@@ -49,7 +49,7 @@ _tls_argp_parser (int key, char *arg, struct argp_state *state) ...@@ -49,7 +49,7 @@ _tls_argp_parser (int key, char *arg, struct argp_state *state)
49 switch (key) 49 switch (key)
50 { 50 {
51 case OPT_TLS: 51 case OPT_TLS:
52 mu_argp_node_list_new (&lst, "tls", arg); 52 mu_argp_node_list_new (&lst, "tls", arg ? arg : "yes");
53 break; 53 break;
54 54
55 case OPT_SSL_CERT: 55 case OPT_SSL_CERT:
......