diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-10-03 18:58:20 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-10-03 18:58:20 +0000 |
commit | 9d7104735ae1d56d5ef7b7bd82c2ab41c509b569 (patch) | |
tree | 6a6fd54d2c013d44b60aec9ccfcbec3687fa083d /src/trg-file-parser.c | |
parent | 258a0a450fc822068dc7581b03590a29f93b903f (diff) |
Diffstat (limited to 'src/trg-file-parser.c')
-rw-r--r-- | src/trg-file-parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trg-file-parser.c b/src/trg-file-parser.c index 582ee82..dc8de3a 100644 --- a/src/trg-file-parser.c +++ b/src/trg-file-parser.c @@ -113,8 +113,8 @@ trg_torrent_file *trg_parse_torrent_file(const gchar *filename) be_node *top_node, *info_node, *name_node; trg_torrent_file *ret = NULL; - if (g_file_test(filename, G_FILE_TEST_IS_REGULAR)) { - g_error("%s does not exist", filename); + if (!g_file_test(filename, G_FILE_TEST_IS_REGULAR)) { + g_message("%s does not exist", filename); return NULL; } |