Mercurial > trustbridge
diff cinst/nssstore_linux.c @ 905:698b6a9bd75e
Fix coding style for C code
astyle --style=gnu --indent=spaces=2
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 13 Aug 2014 15:49:47 +0200 |
parents | 216a65d7fc4b |
children | dbf5ea18cb20 |
line wrap: on
line diff
--- a/cinst/nssstore_linux.c Wed Aug 13 15:44:35 2014 +0200 +++ b/cinst/nssstore_linux.c Wed Aug 13 15:49:47 2014 +0200 @@ -50,8 +50,8 @@ int pipe_fd[2]; pid_t pid = 0; char *argv[2] = {NULL, NULL}, - *envp[2] = {NULL, NULL}, - *inst_dir = NULL; + *envp[2] = {NULL, NULL}, + *inst_dir = NULL; size_t homedir_len = 0, exe_path_len = 0; int ret = -1, @@ -179,9 +179,10 @@ success = true; done: - if (stream) { - fclose (stream); - } + if (stream) + { + fclose (stream); + } xfree (argv[0]); xfree (envp[0]); close (pipe_fd[0]);