diff options
Diffstat (limited to 'plugins/popen.c')
-rw-r--r-- | plugins/popen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/popen.c b/plugins/popen.c index 036bc60..54e63bc 100644 --- a/plugins/popen.c +++ b/plugins/popen.c | |||
@@ -105,7 +105,7 @@ spopen (const char *cmdstring) | |||
105 | #endif | 105 | #endif |
106 | 106 | ||
107 | env[0] = strdup("LC_ALL=C"); | 107 | env[0] = strdup("LC_ALL=C"); |
108 | env[1] = '\0'; | 108 | env[1] = NULL; |
109 | 109 | ||
110 | /* if no command was passed, return with no error */ | 110 | /* if no command was passed, return with no error */ |
111 | if (cmdstring == NULL) | 111 | if (cmdstring == NULL) |