diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2011-01-11 06:53:03 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2011-01-11 06:53:03 +0000 |
commit | e793e9d87626fbff0267840d6da15a07ebf13f46 (patch) | |
tree | ce7cf5f7a71fd926c1499831502c254e5e2780e9 | |
parent | e130896eb1f93f12f64b5139c7e3f5af2cf0ca07 (diff) |
src/update_check.c: added debug print.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2786 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | src/update_check.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/update_check.c b/src/update_check.c index ff9e1fdf..ab5cd4ae 100644 --- a/src/update_check.c +++ b/src/update_check.c @@ -740,6 +740,11 @@ void update_check_set_check_url(const gchar *url) if (check_url) g_free(check_url); check_url = g_strdup(url); + + if (url) + debug_print("update_check_set_check_url: check URL was set to: %s\n", url); + else + debug_print("update_check_set_check_url: check URL was unset.\n"); } const gchar *update_check_get_check_url(void) @@ -752,6 +757,11 @@ void update_check_set_download_url(const gchar *url) if (download_url) g_free(download_url); download_url = g_strdup(url); + + if (url) + debug_print("update_check_set_download_url: download URL was set to: %s\n", url); + else + debug_print("update_check_set_download_url: download URL was unset.\n"); } const gchar *update_check_get_download_url(void) |