~ubuntu-branches/ubuntu/oneiric/collectd/oneiric

« back to all changes in this revision

Viewing changes to src/utils_ignorelist.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Harl
  • Date: 2008-06-17 10:35:51 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080617103551-9d0ym3zejc7agtt3
Tags: 4.4.1-1
* New upstream release.
  - Fixed another issue of the sensors plugin affecting some chip types
    (Closes: #468143).
  - Fixed creation of "vserver" graphs in collection.cgi (Closes: #475120).
  - Fixed a segfault when using libperl 5.10.
  - collectd now ships libiptc itself.
  New plugins:
  - Ascent server statistics: ascent
  - IPMI sensors information: ipmi
  - PowerDNS name server statistics: powerdns
  - incremental parsing of logfiles: tail
  - TeamSpeak2 server statistics: teamspeak2
  - detailed virtual memory statistics: vmem
* Disable "tcpconns" plugin by default (Closes: #478759).
* Reenabled iptables plugin on all architectures (Closes: #473435).
  - Added the plugin to collectd.conf.
  - Added /usr/share/doc/collectd/examples/iptables/.
  - Added build dependency on linux-libc-dev (>= 2.6.25-4) - that version is
    required because of #479899.
* New debconf template translations:
  - gl.po, thanks to Jacobo Tarrio (Closes: #482667).
* Added a work around for #474087 (broken openipmi .pc files) by forcing the
  inclusion of the ipmi plugin and manually specifying the dependencies.
* Updated standards-version to 3.8.0 (no changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
2
 * collectd - src/utils_ignorelist.c
3
3
 * Copyright (C) 2006 Lubos Stanek <lubek at users.sourceforge.net>
 
4
 * Copyright (C) 2008 Florian Forster <octo at verplant.org>
4
5
 *
5
6
 * This program is free software; you can redistribute it and/
6
7
 * or modify it under the terms of the GNU General Public Li-
19
20
 *
20
21
 * Authors:
21
22
 *   Lubos Stanek <lubek at users.sourceforge.net>
 
23
 *   Florian Forster <octo at verplant.org>
22
24
 **/
23
25
/**
24
26
 * ignorelist handles plugin's list of configured collectable
332
334
{
333
335
        ignorelist_item_t *traverse;
334
336
 
335
 
        assert (il != NULL);
336
 
 
337
337
        /* if no entries, collect all */
338
 
        if (il->head == NULL)
 
338
        if ((il == NULL) || (il->head == NULL))
339
339
                return (0);
340
340
 
341
341
        if ((entry == NULL) || (strlen (entry) == 0))