diff options
-rw-r--r-- | src/rc-misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rc-misc.c b/src/rc-misc.c index 7a0a5ef9..7c88477d 100644 --- a/src/rc-misc.c +++ b/src/rc-misc.c @@ -331,14 +331,14 @@ char **env_config (void) /* Be quiet or verbose as necessary */ if ((p = rc_conf_value ("rc_quiet"))) { i = strlen ("EINFO_QUIET=") + strlen (p) + 1; - line = xmalloc (sizeof (char) * i); + line = xmalloc (sizeof (char) * i); snprintf (line, i, "EINFO_QUIET=%s", p); rc_strlist_add (&env, line); free (line); } if ((p = rc_conf_value ("rc_verbose"))) { i = strlen ("EINFO_VERBOSE=") + strlen (p) + 1; - line = xmalloc (sizeof (char) * i); + line = xmalloc (sizeof (char) * i); snprintf (line, i, "EINFO_VERBOSE=%s", p); rc_strlist_add (&env, line); free (line); |