mirror of https://github.com/omar-polo/gmid.git
retire fcgi' prog field
spawning programs was a hidden feature used only for testing. It's gross and when got removed, I forgot to remove the field as well.
This commit is contained in:
parent
c5b4db930e
commit
9715efe6f3
4
gmid.c
4
gmid.c
|
@ -279,15 +279,13 @@ free_config(void)
|
|||
}
|
||||
|
||||
for (i = 0; i < FCGI_MAX; ++i) {
|
||||
if (fcgi[i].path == NULL && fcgi[i].prog == NULL)
|
||||
if (fcgi[i].path == NULL)
|
||||
break;
|
||||
free(fcgi[i].path);
|
||||
free(fcgi[i].port);
|
||||
free(fcgi[i].prog);
|
||||
|
||||
fcgi[i].path = NULL;
|
||||
fcgi[i].port = NULL;
|
||||
fcgi[i].prog = NULL;
|
||||
}
|
||||
|
||||
tls_free(ctx);
|
||||
|
|
1
gmid.h
1
gmid.h
|
@ -100,7 +100,6 @@ struct fcgi {
|
|||
int id;
|
||||
char *path;
|
||||
char *port;
|
||||
char *prog;
|
||||
};
|
||||
extern struct fcgi fcgi[FCGI_MAX];
|
||||
|
||||
|
|
Loading…
Reference in New Issue