summaryrefslogtreecommitdiff
path: root/src/ipcpd/shim-data.h
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-08-30 13:29:18 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-08-30 16:12:09 +0200
commita770296c7aa15057602a4e4f5c7744ccfc65b8aa (patch)
treebefee04fa22eeb818d8710e44fa6a9b669a01745 /src/ipcpd/shim-data.h
parent521f5f0889bf7b56ade00395e0cfc0d4727dada5 (diff)
downloadouroboros-a770296c7aa15057602a4e4f5c7744ccfc65b8aa.tar.gz
ouroboros-a770296c7aa15057602a4e4f5c7744ccfc65b8aa.zip
ipcpd: Add check if name was already registered
This adds a check in the shims if a name was already registered, since it should not return an error.
Diffstat (limited to 'src/ipcpd/shim-data.h')
-rw-r--r--src/ipcpd/shim-data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/shim-data.h b/src/ipcpd/shim-data.h
index 6380eea7..cd3ff16e 100644
--- a/src/ipcpd/shim-data.h
+++ b/src/ipcpd/shim-data.h
@@ -63,7 +63,7 @@ struct shim_data * shim_data_create(void);
void shim_data_destroy(struct shim_data * data);
int shim_data_reg_add_entry(struct shim_data * data,
- uint8_t * hash);
+ const uint8_t * hash);
int shim_data_reg_del_entry(struct shim_data * data,
const uint8_t * hash);