mirror of
https://github.com/gophernicus/gophernicus.git
synced 2025-01-03 14:56:43 -05:00
Fixed whitespace formatting
This commit is contained in:
parent
103656fe79
commit
42eb76376c
4
menu.c
4
menu.c
@ -299,11 +299,11 @@ int gophermap(state *st, char *mapfile, int depth)
|
|||||||
#ifdef HAVE_POPEN
|
#ifdef HAVE_POPEN
|
||||||
if (exe) {
|
if (exe) {
|
||||||
setenv_cgi(st, mapfile);
|
setenv_cgi(st, mapfile);
|
||||||
if ((fp = popen(mapfile , "r")) == NULL) return OK;
|
if ((fp = popen(mapfile, "r")) == NULL) return OK;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
if ((fp = fopen(mapfile , "r")) == NULL) return OK;
|
if ((fp = fopen(mapfile, "r")) == NULL) return OK;
|
||||||
|
|
||||||
/* Read lines one by one */
|
/* Read lines one by one */
|
||||||
while (fgets(line, sizeof(line) - 1, fp)) {
|
while (fgets(line, sizeof(line) - 1, fp)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user