This commit is contained in:
Joshua Granick
2015-09-21 17:07:15 -07:00
parent 59ae4ef454
commit 29ad59e67c

View File

@@ -158,6 +158,7 @@ class CURLEasy {
private static function __writeCallback (callback:Dynamic, output:Dynamic, size:Int, nmemb:Int):Int {
#if ((cpp || neko || nodejs) && lime_curl && !macro)
var bytes:Bytes = null;
if (output != null) {
@@ -168,6 +169,12 @@ class CURLEasy {
return callback (bytes, size, nmemb);
#else
return 0;
#end
}