diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-18 01:59:39 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-18 09:48:17 +0200 |
commit | b0963cf8e2b31ac6a60c314bad148cd93d8eaca1 (patch) | |
tree | a12e648fc0f072215741d2aaa805c207abb83c16 /src/json.h | |
parent | process: preserve the exit code more (diff) | |
download | cimple-b0963cf8e2b31ac6a60c314bad148cd93d8eaca1.tar.gz cimple-b0963cf8e2b31ac6a60c314bad148cd93d8eaca1.zip |
net: don't copy data in struct buf
Diffstat (limited to 'src/json.h')
-rw-r--r-- | src/json.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ log_err("JSON: %s failed\n", fn); \ } while (0) -char *json_to_string(struct json_object *); +const char *json_to_string(struct json_object *); struct json_object *json_from_string(const char *); int json_clone(const struct json_object *, const char *key, struct json_object **value); |