Fix /option support

This commit is contained in:
MK3S+ Printer 2022-10-29 10:00:09 +02:00
parent 57fc761986
commit 4b2f51ba2e

View File

@ -57,7 +57,7 @@ error:
void *http_enum_params(http_worker_t *worker, FILE *stream, http_param_fn fn, void *opaque)
{
const char *params = worker->request_params;
if (!params) {
if (!params || !params[0]) {
return NULL;
}