Permalink
Browse files

[rpc-light]: don't forget the last string fragment, between the last …

…quoted character and the end.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  • Loading branch information...
1 parent 7dbffb9 commit 5dc1e491b15958ea6f34e2b0ed229191df470a2d David Scott committed Nov 22, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 rpc-light/xmlrpc.ml
View
@@ -51,6 +51,7 @@ let encode s =
Buffer.add_string buf n;
m := i + 1
done;
+ Buffer.add_substring buf s !m (n - !m);
Buffer.contents buf
end else
s

0 comments on commit 5dc1e49

Please sign in to comment.