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 62a7f43 commit 748bff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMShell/OMShellGUI/omc_communicator.cpp
Expand Up @@ -97,7 +97,7 @@ bool OmcCommunicator::establishConnection()
}

// ORB initialization.
int argc = 2;
int argc = 6;
static const char *argv[] = { "OMShell", "-NoResolve", "-IIOPAddr", "inet:127.0.0.1:0", "-ORBgiopMaxMsgSize", "10485760" };
CORBA::ORB_var orb = CORBA::ORB_init(argc, (char **)argv);

Expand Down

0 comments on commit 748bff8

Please sign in to comment.