diff options
Diffstat (limited to 'src/spawn-fcgi.c')
-rw-r--r-- | src/spawn-fcgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spawn-fcgi.c b/src/spawn-fcgi.c index c40d8f9..0aaac14 100644 --- a/src/spawn-fcgi.c +++ b/src/spawn-fcgi.c @@ -169,7 +169,7 @@ int fcgi_spawn_connection(char *appPath, char *addr, unsigned short port, const strcat(b, appPath); /* exec the cgi */ - execl("/bin/sh", "sh", "-c", b, NULL); + execl("/bin/sh", "sh", "-c", b, (char *)NULL); exit(errno); |