defined QSE_HTTPD_TIMER_INVALID_INDEX
This commit is contained in:
parent
569b30039b
commit
514eee844f
@ -555,6 +555,8 @@ struct qse_httpd_timer_event_t
|
||||
qse_httpd_timer_updater_t updater;
|
||||
};
|
||||
|
||||
#define QSE_HTTPD_TIMER_INVALID_INDEX QSE_TMR_INVALID_INDEX
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
||||
typedef struct qse_httpd_task_t qse_httpd_task_t;
|
||||
|
@ -2027,7 +2027,6 @@ int qse_httpd_inserttimerevent (qse_httpd_t* httpd, const qse_httpd_timer_event_
|
||||
qse_tmr_index_t timer_index;
|
||||
|
||||
QSE_MEMSET (&timer_event, 0, QSE_SIZEOF(timer_event));
|
||||
|
||||
timer_event.ctx = event->ctx;
|
||||
timer_event.ctx2 = event->updater;
|
||||
timer_event.ctx3 = event->handler;
|
||||
|
@ -25,9 +25,14 @@
|
||||
|
||||
#include <qse/http/httpd.h>
|
||||
|
||||
#define QSE_HTTPD_DEBUG 1
|
||||
/*#undef QSE_HTTPD_DEBUG*/
|
||||
|
||||
#if defined(NDEBUG)
|
||||
/* To include debugging messages while NDEBUG is set,
|
||||
* you can define QSE_HTTPD_DEBUG externally in CFLAGS or something.
|
||||
*/
|
||||
#else
|
||||
/* debugging mode */
|
||||
# define QSE_HTTPD_DEBUG 1
|
||||
#endif
|
||||
|
||||
#if defined(QSE_HTTPD_DEBUG)
|
||||
# include <qse/cmn/sio.h>
|
||||
@ -47,7 +52,6 @@
|
||||
# define HTTPD_DBGOUT5(fmt,a1,a2,a3,a4,a5)
|
||||
#endif
|
||||
|
||||
|
||||
#define QSE_HTTPD_DEFAULT_PORT 80
|
||||
#define QSE_HTTPD_DEFAULT_SECURE_PORT 443
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user