1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-19 15:34:27 -04:00

[dgi] compilation fixes.

This commit is contained in:
Witold Filipczyk 2022-05-18 21:20:45 +02:00
parent 7af65e06a0
commit 24c5295a28
2 changed files with 2 additions and 1 deletions

View File

@ -116,6 +116,7 @@ CONFIG_COOKIES = @CONFIG_COOKIES@
CONFIG_CSS = @CONFIG_CSS@
CONFIG_DATA = @CONFIG_DATA@
CONFIG_DEBUG = @CONFIG_DEBUG@
CONFIG_DGI = @CONFIG_DGI@
CONFIG_DOC = @CONFIG_DOC@
CONFIG_DOM = @CONFIG_DOM@
CONFIG_ECMASCRIPT = @CONFIG_ECMASCRIPT@

View File

@ -182,7 +182,7 @@ static void
prepare_command(struct dgi_entry *entry, const char *query, struct string *cmd, char **inp, char **out, char **queryfile)
{
const char *ch;
dgi_state state = NORMAL;
enum dgi_state state = NORMAL;
for (ch = entry->cmdline; *ch; ch++) {
switch (state) {