]> git.sur5r.net Git - bacula/bacula/commitdiff
Change time_t by utime_t in accurate function
authorEric Bollengier <eric@eb.homelinux.org>
Wed, 29 Jul 2009 13:38:06 +0000 (13:38 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Wed, 29 Jul 2009 13:38:06 +0000 (13:38 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@9119 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/cats/sql_get.c
bacula/technotes

index b9d25bbc11d71180a2d91f92956a847ba9b29a44..d0a885cb4440a0ebd2d00ab3b836189340a9a3a4 100644 (file)
@@ -1108,7 +1108,7 @@ bool db_accurate_get_jobids(JCR *jcr, B_DB *mdb,
    POOL_MEM query(PM_FNAME);
    
    /* Take the current time as upper limit if nothing else specified */
-   time_t StartTime = (jr->StartTime)?jr->StartTime:time(NULL);
+   utime_t StartTime = (jr->StartTime)?jr->StartTime:time(NULL);
 
    bstrutime(date, sizeof(date),  StartTime + 1);
    jobids[0]='\0';
index cfcb7372a8d54e9211d6b794f460c3be09d0b21b..0f59bc49288a95b2e4e8727240c601db4bdf573b 100644 (file)
@@ -3,6 +3,7 @@
 General:
 
 29Jul09
+ebl  Change time_t by utime_t in accurate function
 kes  Start reworking 3.0.2 bacula.spec file
      - Add SuSE build codes
      - Add depkgs-qt so bat can build on any system