summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-11-21 19:26:32 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-11-21 19:47:35 -0200
commit0c8c7ffacf2e7bb8d5f3874f1c919c6e5d499bbd (patch)
tree5972c12c25d2c2c8ba484b52a9d064949f203400
parentcc703b619d2a12f89ad3308b797fe91591419cd5 (diff)
ecore_file_download_example: check the correct file size.
when downloading DST_MIME, check its size, not DST's.
-rw-r--r--src/examples/ecore/ecore_file_download_example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/ecore/ecore_file_download_example.c b/src/examples/ecore/ecore_file_download_example.c
index ac020ac456..d68dfc6289 100644
--- a/src/examples/ecore/ecore_file_download_example.c
+++ b/src/examples/ecore/ecore_file_download_example.c
@@ -74,7 +74,7 @@ main(void)
74 printf("Download started successfully:\n URL: %s\n DEST: %s\n", URL, DST_MIME); 74 printf("Download started successfully:\n URL: %s\n DEST: %s\n", URL, DST_MIME);
75 ecore_main_loop_begin(); 75 ecore_main_loop_begin();
76 printf("\nTime elapsed: %f seconds\n", ecore_time_get() - start); 76 printf("\nTime elapsed: %f seconds\n", ecore_time_get() - start);
77 printf("Downloaded %lld bytes\n", ecore_file_size(DST)); 77 printf("Downloaded %lld bytes\n", ecore_file_size(DST_MIME));
78 } 78 }
79 else 79 else
80 { 80 {