From 9548ce6885325c0772cf3d83ad40076844d4d846 Mon Sep 17 00:00:00 2001 From: Nick White Date: Sun, 4 Mar 2007 23:42:25 +0000 Subject: Fixed bug causing segfault if -a -n/m were passed together Issue structure was passed incorrectly to parsemedia Fixed fill correct issue(s) if it already exists Added default no_of_media to -1 git-archimport-id: getht@sv.gnu.org/getht--mainline--0.1--patch-4 --- getht.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'getht.c') diff --git a/getht.c b/getht.c index a27104c..57d44c3 100644 --- a/getht.c +++ b/getht.c @@ -191,7 +191,7 @@ int main(int argc, char *argv[]) med * cur_media; int newest; - issue = parsemedia(media_xml, &issue, &no_of_issues); + issue = parsemedia(media_xml, issue, &no_of_issues); if(downlatestmedia) { -- cgit v1.2.3