diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-11-07 23:03:56 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-11-07 23:03:56 +0000 |
commit | 4eda14316376fb1e657ac2da269533e2422d2399 (patch) | |
tree | ef7bbc29a69e975a132b4473b75c71ddebfc4404 /src/libtipidee | |
parent | c5e284cb04dc542355ae04f604fd0edb69ff689e (diff) | |
download | tipidee-4eda14316376fb1e657ac2da269533e2422d2399.tar.xz |
Prepare for 0.0.1.1. Minor code cleanups.
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libtipidee')
-rw-r--r-- | src/libtipidee/tipidee_rql_read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtipidee/tipidee_rql_read.c b/src/libtipidee/tipidee_rql_read.c index fe6091d..7aa0ff6 100644 --- a/src/libtipidee/tipidee_rql_read.c +++ b/src/libtipidee/tipidee_rql_read.c @@ -79,7 +79,7 @@ int tipidee_rql_read (buffer *b, char *buf, size_t max, size_t *w, tipidee_rql * { size_t l = tipidee_uri_parse(buf, max, buf + pos[1], &rql->uri) ; if (!l) return 400 ; - *w = l ; + if (w) *w = l ; } return 0 ; } |