fixed a bug in qse_httpd_addhnd().

exported qse_httpd_entaskerrorwithmvk()
This commit is contained in:
2014-10-30 16:29:48 +00:00
parent 75dea7aa43
commit 2c5d85f55f
7 changed files with 25 additions and 23 deletions

View File

@ -906,7 +906,7 @@ int qse_httpd_addhnd (qse_httpd_t* httpd, qse_httpd_hnd_t handle, int mask, qse_
/* qse_httpd_loop() opens the multiplexer. you can call this function from
* preloop/postloop hooks only. but calling it from postloop hooks is
* useless. */
return httpd->opt.scb.mux.addhnd (httpd, httpd->mux, handle, QSE_HTTPD_MUX_READ, mate);
return httpd->opt.scb.mux.addhnd (httpd, httpd->mux, handle, mask, mate);
}
int qse_httpd_delhnd (qse_httpd_t* httpd, qse_httpd_hnd_t handle)