~ubuntu-branches/debian/sid/apt-dater/sid

« back to all changes in this revision

Viewing changes to src/report.c

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2015-07-07 17:33:08 UTC
  • mfrom: (1.2.5)
  • Revision ID: package-import@ubuntu.com-20150707173308-7rkjhxnlq7gsykif
Tags: 1.0.2-1
* New upstream release.
  - Set the default of the opt-cmd-flags host option to "-t" since this is
    essential.
    Closes: #776392
  - Add new build dependency vim-common.
* Replace screen dependency with tmux.
* Create apt-dater group for session sharing.
* Add missing directories.
* Make the build reproducible.
  Closes: #789648
* Drop automake and autoconf build dependencies.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 *   Thomas Liske <liske@ibh.de>
5
5
 *
6
6
 * Copyright Holder:
7
 
 *   2008-2014 (C) IBH IT-Service GmbH [https://www.ibh.de/apt-dater/]
 
7
 *   2008-2015 (C) IBH IT-Service GmbH [https://www.ibh.de/apt-dater/]
8
8
 *
9
9
 * License:
10
10
 *   This program is free software; you can redistribute it and/or modify
54
54
  if (writer == NULL)
55
55
    g_error(_("Error creating the xml output."));
56
56
  xmlTextWriterStartDocument(writer, NULL, NULL, NULL);
 
57
  xmlTextWriterWriteDTD(writer, BAD_CAST("report"), NULL, BAD_CAST(XML_SCHEMA_URI"/report.dtd"), NULL);
57
58
 
58
59
  if(!hosts) return;
59
60
 
199
200
 
200
201
#ifdef FEAT_HISTORY
201
202
  /* history data */
202
 
  GList *hel = history_get_entries(n);
 
203
  GList *hel = history_get_entries(cfg, n);
203
204
  if(hel) {
204
205
    xmlTextWriterStartElement(writer, BAD_CAST("history"));
205
206
    g_list_foreach(hel, reportHistory, NULL);