* support/fcgistarter.c (usage): Fix prototype.
(main): Remove unused variable; pass argv[0] to execl.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@397570
13f79535-47bb-0310-9956-
ffa450edef68
"\n"
"If an interface is not specified, any available will be used.\n";
-static void usage()
+static void usage(void)
{
fprintf(stderr, "%s", usage_message);
{
apr_file_t *infd, *skwrapper;
apr_sockaddr_t *skaddr;
- apr_procattr_t *pattr;
apr_getopt_t *gopt;
apr_socket_t *skt;
apr_pool_t *pool;
* which means by the time it gets to the fastcgi process it
* is no longer fd 0, so it doesn't work. Sigh. */
- execl(command, NULL);
+ execl(command, command, NULL);
#endif
} else if (rv == APR_INPARENT) {
if (num_to_start == 0) {