diff options
author | sandmann <sandmann> | 2005-11-19 02:34:21 +0000 |
---|---|---|
committer | sandmann <sandmann> | 2005-11-19 02:34:21 +0000 |
commit | 629038b8dbafaaa92478b78694da32789050c3c5 (patch) | |
tree | 5a400518090bb3e9dc314b670858fd1545f50574 /tests | |
parent | 8570e7742754fc1313c49297d1d73b7fbae852bb (diff) |
*** empty log message ***
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lacwget.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lacwget.c b/tests/lacwget.c index bf38506..8588f3a 100644 --- a/tests/lacwget.c +++ b/tests/lacwget.c @@ -578,6 +578,8 @@ create_name (const char *uri_str) if (last_slash) return g_strdup (last_slash + 1); + else + return g_strdup (uri_str); } static gboolean @@ -590,6 +592,8 @@ do_download (LacUri *base_uri, const gchar *uri_str, gboolean try_parse) page_info->try_parse = try_parse; page_info->file = fopen (create_name (uri_str), "w"); + + g_print ("write: %s\n", create_name (uri_str)); #if 0 printf ("uri: %s\n", uri_str); |