Merge branch 'pull/collectd-4'
authorFlorian Forster <octo@crystal.wlan.home.verplant.org>
Mon, 22 Jan 2007 21:55:50 +0000 (22:55 +0100)
committerFlorian Forster <octo@crystal.wlan.home.verplant.org>
Mon, 22 Jan 2007 21:55:50 +0000 (22:55 +0100)
1  2 
src/traffic.c

diff --combined src/traffic.c
@@@ -1,6 -1,6 +1,6 @@@
  /**
   * collectd - src/traffic.c
-  * Copyright (C) 2005,2006  Florian octo Forster
+  * Copyright (C) 2005-2007  Florian octo Forster
   *
   * This program is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License as published by the
@@@ -272,7 -272,7 +272,7 @@@ static int traffic_read (void
        struct IFA_DATA *if_data;
  
        if (getifaddrs (&if_list) != 0)
 -              return;
 +              return (-1);
  
        for (if_ptr = if_list; if_ptr != NULL; if_ptr = if_ptr->ifa_next)
        {