* more nntpchan-daemon code
* fix keepalive
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include "exec_frontend.hpp"
|
||||
#include "message.hpp"
|
||||
#include "sanitize.hpp"
|
||||
#include <cassert>
|
||||
#include <iostream>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
int main(int , char * [])
|
||||
{
|
||||
nntpchan::Frontend * f = new nntpchan::ExecFrontend("./contrib/nntpchan.sh");
|
||||
nntpchan::Frontend_ptr f(new nntpchan::ExecFrontend("./contrib/nntpchan.sh"));
|
||||
assert(nntpchan::IsValidMessageID("<a28a71493831188@web.oniichan.onion>"));
|
||||
assert(f->AcceptsNewsgroup("overchan.test"));
|
||||
std::cout << "all good" << std::endl;
|
||||
|
Reference in New Issue
Block a user