Skip to content
Snippets Groups Projects
Commit 2fecb456 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix -listen

parent c09e7002
No related branches found
No related tags found
No related merge requests found
......@@ -874,11 +874,11 @@ void GetOptions(int argc, char *argv[])
Msg::Fatal("Missing format");
}
else if(!strcmp(argv[i] + 1, "listen")) {
#ifndef HAVE_ONELAB2
i++;
#if !defined(HAVE_ONELAB2)
CTX::instance()->solver.listen = 1;
#else
CTX::instance()->batch = 1;
i++;
if(argv[i]) {
CTX::instance()->onelab.listen_port = atoi(argv[i++]);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment