From bad854c2387b70a7d226fe4b7522f95c9a27ad0f Mon Sep 17 00:00:00 2001 From: Yu Qing Date: Mon, 11 Apr 2016 16:52:21 +0800 Subject: [PATCH] correct log info --- php_client/fastdfs_callback_test.php | 4 ++-- php_client/fastdfs_client.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/php_client/fastdfs_callback_test.php b/php_client/fastdfs_callback_test.php index e9f04c2..ac6349a 100644 --- a/php_client/fastdfs_callback_test.php +++ b/php_client/fastdfs_callback_test.php @@ -77,7 +77,7 @@ function my_upload_file_callback($sock, $args) { - var_dump($args); + //var_dump($args); $ret = fastdfs_send_data($sock, $args['buff']); return $ret; @@ -85,7 +85,7 @@ function my_download_file_callback($args, $file_size, $data) { - var_dump($args); + //var_dump($args); if ($args['fhandle'] == NULL) { diff --git a/php_client/fastdfs_client.c b/php_client/fastdfs_client.c index 56306e7..d92a4d7 100644 --- a/php_client/fastdfs_client.c +++ b/php_client/fastdfs_client.c @@ -2255,7 +2255,7 @@ static void php_fdfs_storage_download_file_to_file_impl( \ if (argc < min_param_count || argc > max_param_count) { logError("file: "__FILE__", line: %d, " \ - "storage_set_metadata parameters " \ + "storage_download_file_to_file parameters " \ "count: %d < %d or > %d", __LINE__, argc, \ min_param_count, max_param_count); pContext->err_no = EINVAL;