]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/volume.c
MFH:
[netatalk.git] / etc / afpd / volume.c
index 52f7eeb8e63ecfef67a587c913f65789aa204e85..ff3fe170676d3d5f1a97cb2eae62690d2b562dd5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: volume.c,v 1.14.2.4 2002-02-07 23:57:54 srittau Exp $
+ * $Id: volume.c,v 1.14.2.5 2002-02-08 02:54:24 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);
+        }
     }
 }