]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/read_record.c
Clean up some SD message nos.
[bacula/bacula] / bacula / src / stored / read_record.c
index 965b2c067b82924db23c28d8b4551fbe8b160735..7e25a43ebedf6ea004375c27ddefbc6104c4ad23 100644 (file)
@@ -9,7 +9,7 @@
  *   Version $Id$
  */
 /*
-   Copyright (C) 2000, 2001, 2002 Kern Sibbald and John Walker
+   Copyright (C) 2000-2003 Kern Sibbald and John Walker
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License as
@@ -43,7 +43,6 @@ int read_records(JCR *jcr,  DEVICE *dev,
    DEV_BLOCK *block;
    DEV_RECORD *rec;
    uint32_t record, num_files = 0;
-   int verbose = FALSE;
    int ok = TRUE;
    int done = FALSE;
    SESSION_LABEL sessrec;
@@ -51,7 +50,7 @@ int read_records(JCR *jcr,  DEVICE *dev,
    block = new_block(dev);
    rec = new_record();
    for ( ;ok && !done; ) {
-      if (job_cancelled(jcr)) {
+      if (job_canceled(jcr)) {
         ok = FALSE;
         break;
       }