]> arthur.barton.de Git - netatalk.git/commitdiff
In afp_openvol if we can't get the db stamp return an error.
authordidg <didg>
Fri, 10 Dec 2004 13:33:34 +0000 (13:33 +0000)
committerdidg <didg>
Fri, 10 Dec 2004 13:33:34 +0000 (13:33 +0000)
etc/afpd/volume.c

index 068142359c3aa6834d812b0ee7dc2a13db7062f4..79ac3396ff715bcb10539cb33113b55f035b441e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: volume.c,v 1.51.2.7.2.33.2.1 2004-10-20 20:05:27 didg Exp $
+ * $Id: volume.c,v 1.51.2.7.2.33.2.2 2004-12-10 13:33:34 didg Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -1771,6 +1771,7 @@ int               ibuflen, *rbuflen;
                LOG (log_error, logtype_afpd, 
                      "afp_openvol(%s): Fatal error: Unable to get stamp value from CNID backend",
                      volume->v_path);
+               ret = AFPERR_MISC;
                goto openvol_err;
            }
        }