mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-02 11:29:48 +00:00
FS-4568 --resolve
This commit is contained in:
parent
c16843dc51
commit
772e9f4c70
@ -59,7 +59,7 @@ static size_t file_callback(void *ptr, size_t size, size_t nmemb, void *data)
|
|||||||
}
|
}
|
||||||
if (co->function) {
|
if (co->function) {
|
||||||
char *ret;
|
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) {
|
if (co->user_data) {
|
||||||
argv[argc++] = OBJECT_TO_JSVAL(co->user_data);
|
argv[argc++] = OBJECT_TO_JSVAL(co->user_data);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user