Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- increase argc as well.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20948 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Jun 3, 2014
1 parent 433242b commit 7f344f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions OMNotebook/OMNotebookGUI/omc_communicator.cpp
Expand Up @@ -177,11 +177,12 @@ bool OmcCommunicator::establishConnection()

// 2005-10-10 AF, Porting, changes
// ORB initialization.
int argc = 4;
int argc;
#if defined(USE_OMNIORB)
argc = 2;
argc = 6;
char *argv[] = { "OMNotebook", "-NoResolve", "-IIOPAddr", "inet:127.0.0.1:0", "-ORBgiopMaxMsgSize", "10485760" };
#else
argc = 5;
char *argv[] = { "OMNotebook", "-ORBNoResolve", "-ORBIIOPAddr", "inet:127.0.0.1:0", "-ORBIIOPBlocking"};
#endif

Expand Down

0 comments on commit 7f344f9

Please sign in to comment.