From d60eda3e822dddb690f4d3b658b9c302c4453532 Mon Sep 17 00:00:00 2001 From: Srivardhan Hebbar Date: Mon, 9 Nov 2015 16:20:59 -0800 Subject: [PATCH] ecore_con: updating example with ecore_con_url_status_code_get function. Summary: Signed-off-by: Srivardhan Hebbar Reviewers: cedric Differential Revision: https://phab.enlightenment.org/D3288 Signed-off-by: Cedric BAIL --- unsorted/ecore/ecore_con_url_download_example.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unsorted/ecore/ecore_con_url_download_example.c b/unsorted/ecore/ecore_con_url_download_example.c index 429a9a20..98c7b577 100644 --- a/unsorted/ecore/ecore_con_url_download_example.c +++ b/unsorted/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; }