]> arthur.barton.de Git - netatalk.git/commitdiff
Check to see if v_db == NULL not 0.
authorjmarcus <jmarcus>
Tue, 20 Aug 2002 05:36:08 +0000 (05:36 +0000)
committerjmarcus <jmarcus>
Tue, 20 Aug 2002 05:36:08 +0000 (05:36 +0000)
etc/afpd/volume.c

index 53d4ed1c4f5df2086e827bcc57dd1e2162b9ef8f..3119f90b296a3d5fa5ac23eb4cc76b8abef79f13 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: volume.c,v 1.28 2002-06-14 09:20:29 didg Exp $
+ * $Id: volume.c,v 1.29 2002-08-20 05:36:08 jmarcus Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -1189,7 +1189,7 @@ int               ibuflen, *rbuflen;
 #ifdef CNID_DB
     if (volume->v_dbpath)
         volume->v_db = cnid_open (volume->v_dbpath);
-    if (volume->v_db == 0)
+    if (volume->v_db == NULL)
         volume->v_db = cnid_open (volume->v_path);
 #endif /* CNID_DB */