potholeshome-app

The main app analysing the data on BOINC
git clone git://archive.git.mtrnord.blog/Potholes-Home/potholeshome-app.git
Log | Files | Refs | Submodules

commit 3acf204a2f85aaa62eafdb50248caa9d6d1cd018
parent 062b2a03b6efbe6a9ffc65e2957dc2eface7b602
Author: MTRNord <mtrnord1@gmail.com>
Date:   Fri,  3 Sep 2021 20:11:43 +0200

add dummy output to make it not fail while testing

Diffstat:
Mmain.cpp | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/main.cpp b/main.cpp @@ -1,8 +1,14 @@ #include "boinc_api.h" +#include "filesys.h" + +using namespace std; +FILE* fp; int main() { int retval; char buf[256]; + fp = fopen("out.txt", "a"); + BOINC_OPTIONS options; boinc_options_defaults(options); options.normal_thread_priority = true; @@ -15,6 +21,8 @@ int main() { exit(retval); } + fprintf(fp, "test\n"); + fflush(fp); boinc_finish(0); return 0; }