aboutsummaryrefslogtreecommitdiff
path: root/src/context/get.c
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-06-19 19:26:54 +0000
committerFuwn <[email protected]>2022-06-19 19:26:54 +0000
commita04ac8a25163d2df18dbff89e142cc12f00aa126 (patch)
treee4496130497b19984314480d9c9e4fc7b82b92f1 /src/context/get.c
parentfix(set): free previous tag on set (diff)
downloadtatl-a04ac8a25163d2df18dbff89e142cc12f00aa126.tar.xz
tatl-a04ac8a25163d2df18dbff89e142cc12f00aa126.zip
refactor(get): return pointer to string
Diffstat (limited to 'src/context/get.c')
-rw-r--r--src/context/get.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/context/get.c b/src/context/get.c
index a1bcc83..a42eba9 100644
--- a/src/context/get.c
+++ b/src/context/get.c
@@ -32,8 +32,8 @@ size_t *tatl_context_get_failed(struct tatl_context *context) {
return &context->_failed;
}
-char *tatl_context_get_tag(struct tatl_context *context) {
- return context->_tag;
+char **tatl_context_get_tag(struct tatl_context *context) {
+ return &context->_tag;
}
int *tatl_context_get_mute(struct tatl_context *context) {