]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/afp_dsi.c
Small fix in the DSI tickle handling
[netatalk.git] / etc / afpd / afp_dsi.c
index 5082ee70fea0f83d6d528fcc49a875520376d99c..e68b63a47e9386162c881ba8b8071b16bedec9db 100644 (file)
@@ -321,9 +321,10 @@ static void alarm_handler(int sig _U_)
         return;
     }
 
-    if ((err = pollvoltime(AFPobj)) == 0)
+    if ((err = pollvoltime(AFPobj)) == 0) {
         LOG(log_debug, logtype_afpd, "afp_alarm: sending DSI tickle");
         err = dsi_tickle(AFPobj->dsi);
+    }
     if (err <= 0) {
         if (geteuid() == 0) {
             LOG(log_note, logtype_afpd, "afp_alarm: unauthenticated user, connection problem");