]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/alist.c
19July06
[bacula/bacula] / bacula / src / lib / alist.c
index bf12f3439b114eac3f6659ffcc37c419f08aa51d..70a7895b234870580f3861fa3664dfe891f4625e 100644 (file)
@@ -11,7 +11,7 @@
  *
  */
 /*
-   Copyright (C) 2003-2005 Kern Sibbald
+   Copyright (C) 2003-2006 Kern Sibbald
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
@@ -33,7 +33,7 @@
  */
 void alist::grow_list()
 {
-   if (num_items == 0) {
+   if (items == NULL) {
       if (num_grow == 0) {
          num_grow = 1;                /* default if not initialized */
       }