aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2009-09-03 17:58:05 +0300
committerPetri Lehtinen <petri@digip.org>2009-09-04 09:52:40 +0300
commit05654bfcbad98324413c65bc0ea103a1b701c1be (patch)
treec77fb244dd14ab0cde89d975a24365a49afe5e39 /doc
parent89d09813c376a1ba59a5fd015dd905e2778c7407 (diff)
downloadjansson-05654bfcbad98324413c65bc0ea103a1b701c1be.zip
jansson-05654bfcbad98324413c65bc0ea103a1b701c1be.tar.gz
jansson-05654bfcbad98324413c65bc0ea103a1b701c1be.tar.bz2
doc: Fix typo
Diffstat (limited to 'doc')
-rw-r--r--doc/apiref.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/apiref.rst b/doc/apiref.rst
index c70c0bc..57b5e31 100644
--- a/doc/apiref.rst
+++ b/doc/apiref.rst
@@ -304,9 +304,9 @@ Unicode string and the value is any JSON value.
.. cfunction:: int json_object_set(json_t *object, const char *key, json_t *value)
Set the value of *key* to *value* in *object*. *key* must be a
- valid terminated UTF-8 encoded Unicode string. If there already is
- a value for *key*, it is replaced by the new value. Returns 0 on
- success and -1 on error.
+ valid null terminated UTF-8 encoded Unicode string. If there
+ already is a value for *key*, it is replaced by the new value.
+ Returns 0 on success and -1 on error.
.. cfunction:: int json_object_set_new(json_t *object, const char *key, json_t *value)