git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6391d1a
)
generator: Missing newline character.
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 21 Oct 2010 10:59:49 +0000
(11:59 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 21 Oct 2010 10:59:49 +0000
(11:59 +0100)
generator/generator_ocaml.ml
patch
|
blob
|
history
diff --git
a/generator/generator_ocaml.ml
b/generator/generator_ocaml.ml
index
6cb843a
..
9db69dc
100644
(file)
--- a/
generator/generator_ocaml.ml
+++ b/
generator/generator_ocaml.ml
@@
-380,7
+380,7
@@
copy_table (char * const * argv)
pr " char *%s = guestfs_safe_strdup (g, String_val (%sv));\n" n n
| OptString n ->
pr " char *%s =\n" n;
- pr " %sv != Val_int (0) ?" n;
+ pr " %sv != Val_int (0) ?
\n
" n;
pr " guestfs_safe_strdup (g, String_val (Field (%sv, 0))) : NULL;\n" n
| BufferIn n ->
pr " size_t %s_size = caml_string_length (%sv);\n" n n;