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
2008-03-15 Sergey Poznyakoff <gray@gnu.org.ua>
* libargp/tls.c (_tls_argp_parser): Take care not to pass NULL as
the argument to the "tls" statement.
2008-03-07 Sergey Poznyakoff <gray@gnu.org.ua>
* comsat/comsat.c, imap4d/imap4d.c, imap4d/preauth.c,
......
......@@ -38,7 +38,7 @@ static struct argp_option mu_radius_argp_option[] = {
{ "radius-getpwuid-request", OPT_GETPWUID_REQUEST, N_("REQUEST"), OPTION_HIDDEN,
N_("Radius request to retrieve a passwd entry based on UID"), 0 },
{ "radius-directory", OPT_RADIUS_DIR, N_("DIR"), OPTION_HIDDEN,
N_("Set path to the radius configuration directory"), 0 },
N_("Set name of the radius configuration directory"), 0 },
{ NULL }
};
......
......@@ -49,7 +49,7 @@ _tls_argp_parser (int key, char *arg, struct argp_state *state)
switch (key)
{
case OPT_TLS:
mu_argp_node_list_new (&lst, "tls", arg);
mu_argp_node_list_new (&lst, "tls", arg ? arg : "yes");
break;
case OPT_SSL_CERT:
......