diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-03-04 19:41:06 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-03-04 19:41:06 +0100 |
commit | 3f4d58ef531a17d6667318a4e8f9390a383ffab6 (patch) | |
tree | 29aa6b8bd7c7420a236b3be2fd62404889d8ee53 /source/dialogs/script.c | |
parent | 8ee37012d1b55e69a66fb88727b14c284b6a367f (diff) |
Indent code.
Diffstat (limited to 'source/dialogs/script.c')
-rw-r--r-- | source/dialogs/script.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/dialogs/script.c b/source/dialogs/script.c index 5744f5ac..f653d719 100644 --- a/source/dialogs/script.c +++ b/source/dialogs/script.c @@ -76,11 +76,9 @@ static char **get_script_output ( const char *command, unsigned int *length ) static char **execute_executor ( Mode *sw, const char *result, unsigned int *length ) { - char **retv = NULL; - char *arg = g_shell_quote ( result ); char *command = g_strdup_printf ( "%s %s", (const char *) sw->ed, arg ); - retv = get_script_output ( command, length ); + char **retv = get_script_output ( command, length ); g_free ( command ); g_free ( arg ); return retv; |