diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-18 00:48:34 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-18 00:48:34 +0200 |
commit | c68eeb9946a6e6aee59e221ee279463769331920 (patch) | |
tree | 441062e6fca09af52862814eba9ca5115057ee4e /src/json.c | |
parent | switch to JSON-RPC as message format (diff) | |
download | cimple-c68eeb9946a6e6aee59e221ee279463769331920.tar.gz cimple-c68eeb9946a6e6aee59e221ee279463769331920.zip |
net: remove unused buf_* routines
Diffstat (limited to 'src/json.c')
-rw-r--r-- | src/json.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -75,7 +75,7 @@ int json_send(struct json_object *obj, int fd) return -1; struct buf *buf = NULL; - ret = buf_pack_strings(&buf, 1, &str); + ret = buf_create_from_string(&buf, str); free((char *)str); if (ret < 0) return ret; |