aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-06-19 19:26:54 -0700
committerFuwn <[email protected]>2022-06-19 19:26:54 -0700
commit91ec072a82f0e0bb442997e558acfbec6b6952f2 (patch)
treee4496130497b19984314480d9c9e4fc7b82b92f1 /src
parentfix(set): free previous tag on set (diff)
downloadtatl-91ec072a82f0e0bb442997e558acfbec6b6952f2.tar.xz
tatl-91ec072a82f0e0bb442997e558acfbec6b6952f2.zip
refactor(get): return pointer to string
Diffstat (limited to 'src')
-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) {