command/*: use std::span instead of ConstBuffer
This commit is contained in:
@@ -277,7 +277,7 @@ handle_update(Client &client, Request args, Response &r, bool discard)
|
||||
#ifdef ENABLE_DATABASE
|
||||
const char *path = "";
|
||||
|
||||
assert(args.size <= 1);
|
||||
assert(args.size() <= 1);
|
||||
if (!args.empty()) {
|
||||
path = args.front();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user