From 787efb9b1638a89fe5e4e698f4df43468d6d327e Mon Sep 17 00:00:00 2001 From: damiano Date: Wed, 17 Feb 1999 11:28:36 +0000 Subject: remove argument bus from function IvyInit --- src/ivy.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/ivy.c') diff --git a/src/ivy.c b/src/ivy.c index 6aab573..2873585 100644 --- a/src/ivy.c +++ b/src/ivy.c @@ -542,7 +542,7 @@ static void BroadcastReceive( Client client, void *data, char *line ) } -void IvyInit (const char *appname, unsigned short port, const char *ready, +void IvyInit (const char *appname, const char *ready, IvyApplicationCallback callback, void *data, IvyDieCallback die_callback, void *die_data ) @@ -550,7 +550,6 @@ void IvyInit (const char *appname, unsigned short port, const char *ready, SocketInit(); ApplicationName = appname; - SupervisionPort = port; application_callback = callback; application_user_data = data; application_die_callback = die_callback; @@ -600,10 +599,8 @@ void IvyStart (const char* bus) q = strchr (p, ':'); if (q && (port = atoi (q+1))) SupervisionPort = port; -#if 0 else - SupervisionPort = ; -#endif + SupervisionPort = DEFAULT_BUS; /* * Now we have a port number it's time to initialize the UDP port -- cgit v1.1