Include sha256 implementation
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include <microhttpd.h>
|
||||
#include <sha256.h>
|
||||
#define NOH_IMPLEMENTATION
|
||||
#include "noh.h"
|
||||
|
||||
@@ -29,7 +30,7 @@ static enum MHD_Result handle_opds(struct MHD_Connection *connection, SV url, SV
|
||||
noh_string_append_cstr(&fs_path, "/");
|
||||
noh_string_append_sv(&fs_path, url);
|
||||
|
||||
noh_log(NOH_INFO, "Rquest: "Nsv_Fmt, Nsv_Arg(fs_path));
|
||||
noh_log(NOH_INFO, "Physical path: "Nsv_Fmt, Nsv_Arg(fs_path));
|
||||
return send_response(connection, 200, sv("TODO: OPDS\n"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user