Fix a few more breakages from our recent changes to the server_id
[samba.git] / source4 / lib / messaging / messaging.c
index 9cb10f961c25199b20f2ecb5171eec370632f183..6a879ab962774f8008af09b56aea34b949042b37 100644 (file)
@@ -121,8 +121,8 @@ static NTSTATUS irpc_uptime(struct irpc_message *msg,
 */
 static char *messaging_path(struct messaging_context *msg, struct server_id server_id)
 {
-       return talloc_asprintf(msg, "%s/msg.%u.%u", msg->base_path, 
-                              (unsigned)server_id.node, (unsigned)server_id.id);
+       return talloc_asprintf(msg, "%s/msg.%s", msg->base_path, 
+                              cluster_id_string(msg, server_id));
 }
 
 /*