cluster - misc cleanup
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 5 Dec 2012 03:23:54 +0000 (19:23 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 5 Dec 2012 03:23:54 +0000 (19:23 -0800)
* Rename the routing function to something that I remember.

lib/libdmsg/dmsg.h
lib/libdmsg/msg.c
lib/libdmsg/msg_lnk.c

index efd1403..2426861 100644 (file)
@@ -414,7 +414,7 @@ void dmsg_circuit_hold(dmsg_circuit_t *circuit);
 void dmsg_circuit_drop(dmsg_circuit_t *circuit);
 void dmsg_circuit_drop_locked(dmsg_circuit_t *circuit);
 
-int dmsg_circuit_relay(dmsg_msg_t *msg);
+int dmsg_circuit_route(dmsg_msg_t *msg);
 
 /*
  * Msg protocol functions
index 18173cd..616cc00 100644 (file)
@@ -1197,7 +1197,7 @@ skip:
                                (intmax_t)msg->any.head.circuit);
                }
                if (msg->any.head.circuit)
-                       error = dmsg_circuit_relay(msg);
+                       error = dmsg_circuit_route(msg);
                else
                        error = dmsg_state_msgrx(msg);
 
index a8c3302..2c67e4c 100644 (file)
@@ -1520,7 +1520,7 @@ dmsg_volconf_signal(dmsg_iocom_t *iocom)
  ************************************************************************/
 
 int
-dmsg_circuit_relay(dmsg_msg_t *msg)
+dmsg_circuit_route(dmsg_msg_t *msg)
 {
        dmsg_iocom_t *iocom = msg->iocom;
        dmsg_circuit_t *circ;