diff options
author | Roland McGrath <roland@gnu.org> | 1998-10-20 08:38:41 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1998-10-20 08:38:41 +0000 |
commit | fc40a731d23f893be2cb7699d7e078568d4c210c (patch) | |
tree | 9f1c90570e03a7c4082bee3fca2ced1755ac98a0 /ftpfs/ftpfs.c | |
parent | 6b0d5d23a26adea266903f285f7424a2f93863cb (diff) |
Add braces to silence gcc warnings.
Diffstat (limited to 'ftpfs/ftpfs.c')
-rw-r--r-- | ftpfs/ftpfs.c | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/ftpfs/ftpfs.c b/ftpfs/ftpfs.c index c3dd0d14..646f9b1b 100644 --- a/ftpfs/ftpfs.c +++ b/ftpfs/ftpfs.c @@ -328,15 +328,17 @@ netfs_append_args (char **argz, size_t *argz_len) mutex_lock (&debug_lock); if (ftpfs_ftp_hooks.cntl_debug && debug_stream) - if (debug_stream != stderr) - { - char *rep; - asprintf (&rep, "--debug=%s", debug_stream_name); - err = argz_add (argz, argz_len, rep); - free (rep); - } - else - err = argz_add (argz, argz_len, "--debug"); + { + if (debug_stream != stderr) + { + char *rep; + asprintf (&rep, "--debug=%s", debug_stream_name); + err = argz_add (argz, argz_len, rep); + free (rep); + } + else + err = argz_add (argz, argz_len, "--debug"); + } mutex_unlock (&debug_lock); if (ftpfs->params.name_timeout != DEFAULT_NAME_TIMEOUT) |