fix call of custom dynamic variable handler

This commit is contained in:
Bogdan Pilyugin 2022-08-19 17:01:21 +02:00
parent 4b8b8a36d3
commit 9c075ada73
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@
#define MAX_DYNVAR_LENGTH 64 #define MAX_DYNVAR_LENGTH 64
#define MAX_INCFILE_LENGTH 1024 #define MAX_INCFILE_LENGTH 1024
#define HTTP_SERVER_DEBUG_LEVEL 1 #define HTTP_SERVER_DEBUG_LEVEL 0
typedef enum typedef enum
{ {

View File

@ -578,7 +578,7 @@ int HTTPPrint(httpd_req_t *req, char *buf, char *var)
if (!fnd) if (!fnd)
{ {
if (HTTPPrintCust != NULL) if (HTTPPrintCust != NULL)
HTTPPrintCust(req, buf, var); return HTTPPrintCust(req, buf, var);
else else
HTTPPrint_DEF(VarData, NULL); HTTPPrint_DEF(VarData, NULL);