Parcourir la source

The server wasn't appending in -a mode

Ian Goldberg il y a 2 ans
Parent
commit
121f757edb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      preproc.cpp

+ 1 - 1
preproc.cpp

@@ -193,7 +193,7 @@ void preprocessing_server(MPCServerIO &mpcsrvio, const PRACOptions &opts, char *
         boost::asio::post(pool, [&mpcsrvio, &opts, thread_num, args] {
             char **threadargs = args;
             MPCTIO stio(mpcsrvio, thread_num);
-            Openfiles ofiles;
+            Openfiles ofiles(opts.append_to_files);
             std::vector<coro_t> coroutines;
             if (*threadargs && threadargs[0][0] == 'T') {
                 // Per-thread initialization.  The args look like: