]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/tools/testls.c
Tweak example SD plugin.
[bacula/bacula] / bacula / src / tools / testls.c
index 0926db8b4a08e2c4eee6fe42ea8a33dfcbe9cd70..0e5481a53186e01daf67005b53e38e1bd25015c1 100644 (file)
@@ -6,7 +6,7 @@
    The main author of Bacula is Kern Sibbald, with contributions from
    many others, a complete list can be found in the file AUTHORS.
    This program is Free Software; you can redistribute it and/or
-   modify it under the terms of version two of the GNU General Public
+   modify it under the terms of version three of the GNU Affero General Public
    License as published by the Free Software Foundation and included
    in the file LICENSE.
 
@@ -15,7 +15,7 @@
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    General Public License for more details.
 
-   You should have received a copy of the GNU General Public License
+   You should have received a copy of the GNU Affero General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
@@ -84,7 +84,7 @@ int main(int argc, char *const *argv)
    FF_PKT *ff;
    char name[1000];
    bool quiet = false;
-   int i, ch, hard_links;
+   int i, ch;
    char *inc = NULL;
    char *exc = NULL;
    FILE *fd;
@@ -181,7 +181,7 @@ int main(int argc, char *const *argv)
    }
    printf(_("Files seen = %d\n"), num_files);
    term_include_exclude_files(ff);
-   hard_links = term_find_files(ff);
+   term_find_files(ff);
 
    free_jcr(jcr);
    term_last_jobs_list();             /* free jcr chain */