[OpenAFS-devel] [PATCH] fix crash in butc caused by -rxbind patch

Christopher Allen Wing wingc@engin.umich.edu
Thu, 29 Jun 2006 19:30:58 -0400 (EDT)


[ this message is bcc:ed to openafs-bugs ]

When support for -rxbind was added via the CVS deltas:

 	rxbind-for-servers-20060612
 	STABLE14-rxbind-for-servers-20060612
 	DEVEL15-rxbind-for-servers-20060612

a typo was made in src/butc/tcmain.c which causes 'butc' to crash when it 
starts up.  The following patch fixes the problem.

Please apply this to the development and openafs-stable-1_4_x branches.


Thanks,

Chris Wing
wingc@engin.umich.edu




--- openafs-20060623/src/butc/tcmain.c.orig	2006-06-29 19:22:26.000000000 -0400
+++ openafs-20060623/src/butc/tcmain.c	2006-06-29 19:23:44.000000000 -0400
@@ -1102,7 +1102,7 @@
      }

      service =
-	rx_NewServiceHost, (host, 0, 1, "BUTC", securityObjects, 3, TC_ExecuteRequest);
+	rx_NewServiceHost(host, 0, 1, "BUTC", securityObjects, 3, TC_ExecuteRequest);
      if (!service) {
  	TLog(0, "rx_NewService");
  	exit(1);