summaryrefslogtreecommitdiff
path: root/src/mediaxml.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mediaxml.c')
-rw-r--r--src/mediaxml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mediaxml.c b/src/mediaxml.c
index bcb2da1..02c2cad 100644
--- a/src/mediaxml.c
+++ b/src/mediaxml.c
@@ -240,7 +240,7 @@ iss ** parsemedia(char * filepath, iss ** issue, int * no_of_issues)
xmlFreeDoc(media_file);
- issuesort(issue, no_of_issues);
+ issuesort(issue, *no_of_issues);
return issue;
}