Skip to content

Commit

Permalink
- Better fix than r10268 (but we keep the debug print disabled)
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10269 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Nov 2, 2011
1 parent 79bc483 commit 4abc688
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c_runtime/simulation_runtime.cpp
Expand Up @@ -80,7 +80,7 @@ omc_fileInfo TermInfo = omc_dummyFileInfo;

#ifndef NO_INTERACTIVE_DEPENDENCY
Socket sim_communication_port;
static int sim_communication_port_open = 1;
static int sim_communication_port_open = 0;
#endif

int sim_verbose = 0; // Flag for logging
Expand Down Expand Up @@ -1079,7 +1079,7 @@ void communicateStatus(const char *phase, double completionPercent /*0.0 to 1.0*
s << (int)(completionPercent*10000) << " " << phase << endl;
std::string str(s.str());
sim_communication_port.send(str);
//cout << str;
// cout << str;
}
#endif
}
Expand Down

0 comments on commit 4abc688

Please sign in to comment.