From 9d7104735ae1d56d5ef7b7bd82c2ab41c509b569 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Mon, 3 Oct 2011 18:58:20 +0000 Subject: --- src/trg-file-parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/trg-file-parser.c') 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; } -- cgit v1.2.3