From c1c9abbfcafe8e55d86dfe13aed6874ad194d761 Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Fri, 29 Dec 2023 00:45:14 +0100 Subject: Change iritating NULL assignment --- plugins/popen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/popen.c') diff --git a/plugins/popen.c b/plugins/popen.c index 036bc608..54e63bc5 100644 --- a/plugins/popen.c +++ b/plugins/popen.c @@ -105,7 +105,7 @@ spopen (const char *cmdstring) #endif env[0] = strdup("LC_ALL=C"); - env[1] = '\0'; + env[1] = NULL; /* if no command was passed, return with no error */ if (cmdstring == NULL) -- cgit v1.2.3-74-g34f1