]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/read_record.c
!!! I didn't run the regression tests.!!!
[bacula/bacula] / bacula / src / stored / read_record.c
index ef8bc32ad36c65e53533eb9c2db472a82db6bf81..5ecfdf7c4e8ecd15363dd820be5cb86c9f77e9e1 100644 (file)
@@ -56,7 +56,7 @@ bool read_records(DCR *dcr,
    dlist *recs;                        /* linked list of rec packets open */
 
    block = new_block(dev);
-   recs = new dlist(rec, &rec->link);
+   recs = New(dlist(rec, &rec->link));
    position_to_first_file(jcr, dev);
 
    for ( ; ok && !done; ) {