Skip to content

Commit

Permalink
- fix flag -port
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@15027 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
lochel committed Jan 31, 2013
1 parent 3f3c8a6 commit 070bd19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimulationRuntime/c/simulation/simulation_runtime.cpp
Expand Up @@ -651,7 +651,7 @@ int initRuntimeAndSimulation(int argc, char**argv, DATA *data)
setPortOfControlServer(userPort);
} else if(!interactiveSimulation && flagSet("port", argc, argv)) {
*/
if(!interactiveSimulation && flagSet("port", argc, argv))
if(!interactiveSimulation && optionSet("port", argc, argv))
{
string *portvalue = (string*) getOption("port", argc, argv);
std::istringstream stream(*portvalue);
Expand Down

0 comments on commit 070bd19

Please sign in to comment.