diff --git a/lib/curl.php b/lib/curl.php index bc96cc8..dce8d81 100644 --- a/lib/curl.php +++ b/lib/curl.php @@ -94,7 +94,7 @@ function curl($url,$napid=null,$headers=null,$postdata=null,$conntimeout=null,$f if ($sdate===false) break; } elseif (preg_match('#^x-ratelimit-remaining: (\d+)$#i',$header,$matches)===1) { $rlrem=$matches[1]+0; -// echo "Ratelimit-remaining: {$rlrem}\n"; +// echo "«{$url}»: Ratelimit-remaining: {$rlrem}\n"; } elseif (preg_match('#^x-ratelimit-reset: (.*)$#i',$header,$matches)===1) { $rlres=@strtotime($matches[1]); if ($rlres===false) break;