X-Git-Url: https://code.wpia.club/?p=cassiopeia.git;a=blobdiff_plain;f=src%2Fapps%2Fclient.cpp;fp=src%2Fapps%2Fclient.cpp;h=92a2369f471465e273cbeebce0119092f0ffff92;hp=f044c2b84a43d42394ddf457f4b33aad3f06726d;hb=9c88683457862a86656172dfba127717bf41b86a;hpb=da9f337a893bd317460118f89efa83a3427f797f diff --git a/src/apps/client.cpp b/src/apps/client.cpp index f044c2b..92a2369 100644 --- a/src/apps/client.cpp +++ b/src/apps/client.cpp @@ -106,11 +106,10 @@ int main( int argc, const char *argv[] ) { if( lastCRLCheck + 30 * 60 < current ) { // todo set good log TODO FIXME - sign->setLog( std::shared_ptr( - &std::cout, - []( std::ostream* o ) { - ( void ) o; - } ) ); + auto ostreamFree = []( std::ostream * o ) { + ( void ) o; + }; + sign->setLog( std::shared_ptr( &std::cout, ostreamFree ) ); checkCRLs( sign ); lastCRLCheck = current; }