X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=uffi%2Fclsql-uffi.lisp;h=11038d56851142e09385fbfa86d28970ada79642;hp=7a4dbbb1ddc821f1923b2e71c9fd2f4785e50f4a;hb=6c83b1d3ad63edfc36a5bb5aee451d1eacc0d555;hpb=3cc09235e0f1f369d4cd53083c9fcd7cf5ab0c9e diff --git a/uffi/clsql-uffi.lisp b/uffi/clsql-uffi.lisp index 7a4dbbb..11038d5 100644 --- a/uffi/clsql-uffi.lisp +++ b/uffi/clsql-uffi.lisp @@ -139,6 +139,6 @@ (error "Can't return blob since length is not specified."))) (t (uffi:convert-from-foreign-string char-ptr - :null-terminated-p nil + :null-terminated-p (not length) :length length :encoding encoding))))))