diff options
| author | Fuwn <[email protected]> | 2022-06-19 19:26:54 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-06-19 19:26:54 -0700 |
| commit | 91ec072a82f0e0bb442997e558acfbec6b6952f2 (patch) | |
| tree | e4496130497b19984314480d9c9e4fc7b82b92f1 /src | |
| parent | fix(set): free previous tag on set (diff) | |
| download | tatl-91ec072a82f0e0bb442997e558acfbec6b6952f2.tar.xz tatl-91ec072a82f0e0bb442997e558acfbec6b6952f2.zip | |
refactor(get): return pointer to string
Diffstat (limited to 'src')
| -rw-r--r-- | src/context/get.c | 4 |
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) { |