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:
275b5fa
)
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>
Sat, 23 Oct 2010 12:01:33 +0000
(13:01 +0100)
Cherry picked from
ed74706d80394fef709ec0258fc5cf7d974ff8b1
.
src/generator.ml
patch
|
blob
|
history
diff --git
a/src/generator.ml
b/src/generator.ml
index
6f9af45
..
2395614
100755
(executable)
--- a/
src/generator.ml
+++ b/
src/generator.ml
@@
-8095,7
+8095,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
| StringList n | DeviceList n ->
pr " char **%s = ocaml_guestfs_strings_val (g, %sv);\n" n n