cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=38bc948eff2d495b15b32c0ba255ca43199e4a19
commit 38bc948eff2d495b15b32c0ba255ca43199e4a19 Author: Srivardhan Hebbar <sri.heb...@samsung.com> Date: Mon Nov 9 16:20:59 2015 -0800 ecore_con: updating example with ecore_con_url_status_code_get function. Summary: Signed-off-by: Srivardhan Hebbar <sri.heb...@samsung.com> Reviewers: cedric Differential Revision: https://phab.enlightenment.org/D3288 Signed-off-by: Cedric BAIL <ced...@osg.samsung.com> --- src/examples/ecore/ecore_con_url_download_example.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/examples/ecore/ecore_con_url_download_example.c b/src/examples/ecore/ecore_con_url_download_example.c index 429a9a2..98c7b57 100644 --- a/src/examples/ecore/ecore_con_url_download_example.c +++ b/src/examples/ecore/ecore_con_url_download_example.c @@ -31,6 +31,8 @@ _url_progress_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info) percent, url_progress->down.now); } + printf("status: %d\n", ecore_con_url_status_code_get(url_progress->url_con)); + return EINA_TRUE; } --