diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2023-11-27 14:43:10 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2023-11-29 09:57:29 +0100 |
commit | 3f24301fff9c544dfe2b89c5737bc3cdf94ef9a9 (patch) | |
tree | 35e04e27e4a0e11c91fe3aa201004ac1d83a72e0 /src/irmd/ipcp.c | |
parent | c1d679506180bc23241fe14818c0a2dbbcbe3cef (diff) | |
download | ouroboros-3f24301fff9c544dfe2b89c5737bc3cdf94ef9a9.tar.gz ouroboros-3f24301fff9c544dfe2b89c5737bc3cdf94ef9a9.zip |
include: Rename layer.layer_name to layer.name
The layer_info had a member layer_name which is a bit
redundant.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/irmd/ipcp.c')
-rw-r--r-- | src/irmd/ipcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irmd/ipcp.c b/src/irmd/ipcp.c index eeda1fbc..b0d95b44 100644 --- a/src/irmd/ipcp.c +++ b/src/irmd/ipcp.c @@ -229,7 +229,7 @@ int ipcp_bootstrap(pid_t pid, } info->dir_hash_algo = recv_msg->layer_info->dir_hash_algo; - strcpy(info->layer_name, recv_msg->layer_info->layer_name); + strcpy(info->name, recv_msg->layer_info->name); ret = recv_msg->result; ipcp_msg__free_unpacked(recv_msg, NULL); @@ -272,7 +272,7 @@ int ipcp_enroll(pid_t pid, } info->dir_hash_algo = recv_msg->layer_info->dir_hash_algo; - strcpy(info->layer_name, recv_msg->layer_info->layer_name); + strcpy(info->name, recv_msg->layer_info->name); ipcp_msg__free_unpacked(recv_msg, NULL); |