FS-4568 --resolve

This commit is contained in:
Jeff Lenk 2013-03-24 14:32:31 -05:00
parent c16843dc51
commit 772e9f4c70
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ static size_t file_callback(void *ptr, size_t size, size_t nmemb, void *data)
}
if (co->function) {
char *ret;
argv[argc++] = STRING_TO_JSVAL(JS_NewStringCopyZ(co->cx, (char *) ptr));
argv[argc++] = STRING_TO_JSVAL(JS_NewStringCopyN(co->cx, (char *) ptr, realsize));
if (co->user_data) {
argv[argc++] = OBJECT_TO_JSVAL(co->user_data);
}