correct log info
parent
514b2e90b0
commit
bad854c238
|
|
@ -77,7 +77,7 @@
|
||||||
|
|
||||||
function my_upload_file_callback($sock, $args)
|
function my_upload_file_callback($sock, $args)
|
||||||
{
|
{
|
||||||
var_dump($args);
|
//var_dump($args);
|
||||||
|
|
||||||
$ret = fastdfs_send_data($sock, $args['buff']);
|
$ret = fastdfs_send_data($sock, $args['buff']);
|
||||||
return $ret;
|
return $ret;
|
||||||
|
|
@ -85,7 +85,7 @@
|
||||||
|
|
||||||
function my_download_file_callback($args, $file_size, $data)
|
function my_download_file_callback($args, $file_size, $data)
|
||||||
{
|
{
|
||||||
var_dump($args);
|
//var_dump($args);
|
||||||
|
|
||||||
if ($args['fhandle'] == NULL)
|
if ($args['fhandle'] == NULL)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2255,7 +2255,7 @@ static void php_fdfs_storage_download_file_to_file_impl( \
|
||||||
if (argc < min_param_count || argc > max_param_count)
|
if (argc < min_param_count || argc > max_param_count)
|
||||||
{
|
{
|
||||||
logError("file: "__FILE__", line: %d, " \
|
logError("file: "__FILE__", line: %d, " \
|
||||||
"storage_set_metadata parameters " \
|
"storage_download_file_to_file parameters " \
|
||||||
"count: %d < %d or > %d", __LINE__, argc, \
|
"count: %d < %d or > %d", __LINE__, argc, \
|
||||||
min_param_count, max_param_count);
|
min_param_count, max_param_count);
|
||||||
pContext->err_no = EINVAL;
|
pContext->err_no = EINVAL;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue