瀏覽代碼

The server wasn't appending in -a mode

Ian Goldberg 2 年之前
父節點
當前提交
121f757edb
共有 1 個文件被更改,包括 1 次插入1 次删除
  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: