aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/backend/pas/pas-book-factory.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index e197a8ae11..4cacb9027f 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2000-04-28 Larry Ewing <lewing@helixcode.com>
+
+ * backend/pas/pas-book-factory.c (register_factory): fix the
+ `USING_OAF' changes so that they work for when we are not using
+ oaf.
+
2000-04-27 Ettore Perazzoli <ettore@helixcode.com>
* ename/Makefile.am
diff --git a/addressbook/backend/pas/pas-book-factory.c b/addressbook/backend/pas/pas-book-factory.c
index 651f17523d..93030447a7 100644
--- a/addressbook/backend/pas/pas-book-factory.c
+++ b/addressbook/backend/pas/pas-book-factory.c
@@ -340,9 +340,10 @@ static gboolean
register_factory (CORBA_Object obj)
{
CORBA_Environment ev;
- CORBA_exception_init (&ev);
int ret;
+ CORBA_exception_init (&ev);
+
ret = goad_server_register (NULL, obj, PAS_BOOK_FACTORY_GOAD_ID, "server", &ev);
if (ev._major != CORBA_NO_EXCEPTION) {