fix call of custom dynamic variable handler
This commit is contained in:
parent
4b8b8a36d3
commit
9c075ada73
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user