]> arthur.barton.de Git - netatalk.git/commitdiff
previous commit :don't send a server notification on volume time modification if...
authordidg <didg>
Tue, 26 Jan 2010 09:31:59 +0000 (09:31 +0000)
committerdidg <didg>
Tue, 26 Jan 2010 09:31:59 +0000 (09:31 +0000)
etc/afpd/volume.c

index ae1e5893bf1edb2b886ce4379ccb58fb1484c327..e43d3b4ab485905ed480be3f3ae9d6370829e049 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: volume.c,v 1.114 2010-01-25 18:39:05 didg Exp $
+ * $Id: volume.c,v 1.115 2010-01-26 09:31:59 didg Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -2301,7 +2301,7 @@ void setvoltime(AFPObj *obj, struct vol *vol)
         /* or finder doesn't update free space
          * AFP 3.2 and above clients seem to be ok without so many notification
          */
-        if (afp_version > 31 && obj->options.server_notif) {
+        if (afp_version < 32 && obj->options.server_notif) {
             obj->attention(obj->handle, AFPATTN_NOTIFY | AFPATTN_VOLCHANGED);
         }
     }