ORBit2 r2055 - in trunk: . test
- From: jcolding svn gnome org
- To: svn-commits-list gnome org
- Subject: ORBit2 r2055 - in trunk: . test
- Date: Thu, 24 Apr 2008 15:08:34 +0100 (BST)
Author: jcolding
Date: Thu Apr 24 14:08:33 2008
New Revision: 2055
URL: http://svn.gnome.org/viewvc/ORBit2?rev=2055&view=rev
Log:
Fix timeout test client
Modified:
trunk/ChangeLog
trunk/test/timeout-client.c
Modified: trunk/test/timeout-client.c
==============================================================================
--- trunk/test/timeout-client.c (original)
+++ trunk/test/timeout-client.c Thu Apr 24 14:08:33 2008
@@ -95,7 +95,7 @@
if (g_stat(filename, &st))
goto out;
- objref = g_malloc0(st.st_size);
+ objref = g_malloc0(st.st_size + 1);
if (!objref)
goto out;
@@ -122,7 +122,7 @@
CORBA_exception_init (ev);
- obj = object_ref_from_file(orb, "./timeout-server.iorfile", ev);
+ obj = object_ref_from_file(orb, "timeout-server.iorfile", ev);
if (ev->_major != CORBA_NO_EXCEPTION) {
g_print ("object_ref_from_file(): %s\n", CORBA_exception_id (ev));
obj = CORBA_OBJECT_NIL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]