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:
d911b50
)
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 15:00:30 +0000
(16:00 +0100)
Cherry picked from commit
ed74706d80394fef709ec0258fc5cf7d974ff8b1
.
src/generator.ml
patch
|
blob
|
history
diff --git
a/src/generator.ml
b/src/generator.ml
index
0c090e4
..
11a46b2
100755
(executable)
--- a/
src/generator.ml
+++ b/
src/generator.ml
@@
-8680,7
+8680,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;