diff options
Diffstat (limited to 'lib/qpath.c')
-rw-r--r-- | lib/qpath.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/qpath.c b/lib/qpath.c index f6157b89..07c294de 100644 --- a/lib/qpath.c +++ b/lib/qpath.c @@ -68,7 +68,7 @@ qpath_init_new(qpath qp, const char* path) /* Worry about fields other than the path */ - qs_init_new(&qp->path, 0) ; + qs_init_new(qp->path, 0) ; if (path != NULL) qpath_set(qp, path) ; @@ -119,7 +119,7 @@ qpath_set(qpath qp, const char* path) if (path != NULL) qs_set(&qp->path, path) ; else - qs_clear(&qp->path) ; + qs_clear(qp->path) ; /* Worry about fields other than the path */ } ; @@ -521,7 +521,7 @@ qpath_push_str(qpath qp, const char* path) len = 0 ; /* Worry about whether need to add a '/' to the path before pushing */ - sp = qs_chars(qs) ; + sp = qs_char(qs) ; ep = qs_ep_char(qs) ; /* points at trailing '\0' */ if (sp == NULL) |