* more nntpchan-daemon code

* fix keepalive
This commit is contained in:
Jeff Becker committed 2017-10-09 11:48:10 -04:00
1 parent dc2de0fbc9
commit e67e7a20bd
57 files changed
+987 -576

No files matched your search

@@ -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;