git.annexia.org
/
ocaml-augeas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
864440e
)
Path parameter did not work in Augeas.rm and Augeas.count_matches bindings.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 6 Jun 2017 14:13:37 +0000
(15:13 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 6 Jun 2017 14:13:37 +0000
(15:13 +0100)
augeas-c.c
patch
|
blob
|
history
diff --git
a/augeas-c.c
b/augeas-c.c
index
3d3cb27
..
4818116
100644
(file)
--- a/
augeas-c.c
+++ b/
augeas-c.c
@@
-201,7
+201,7
@@
ocaml_augeas_rm (value tv, value pathv)
{
CAMLparam2 (tv, pathv);
augeas_t t = Augeas_t_val (tv);
- char *path = String_val (path);
+ char *path = String_val (path
v
);
int r;
r = aug_rm (t, path);
@@
-248,7
+248,7
@@
ocaml_augeas_count_matches (value tv, value pathv)
{
CAMLparam2 (tv, pathv);
augeas_t t = Augeas_t_val (tv);
- char *path = String_val (path);
+ char *path = String_val (path
v
);
int r;
r = aug_match (t, path, NULL);