]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/volume.c
MFH:
[netatalk.git] / etc / afpd / volume.c
index 23a34270e02a99466147ef4458d3c630082fe6d4..555028fe8e50e905d63901ca718a6cf99852a9c9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: volume.c,v 1.14.2.6 2002-02-09 05:35:17 jmarcus Exp $
+ * $Id: volume.c,v 1.14.2.7 2002-02-11 17:46:40 jmarcus Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -1308,7 +1308,9 @@ struct vol        *vol;
     /* a little granularity */
     if (vol->v_time < tv.tv_sec) {
         vol->v_time = tv.tv_sec;
-        obj->attention(obj->handle, AFPATTN_NOTIFY | AFPATTN_VOLCHANGED);
+        if (obj->options.server_notif) {
+            obj->attention(obj->handle, AFPATTN_NOTIFY | AFPATTN_VOLCHANGED);
+        }
     }
 }