X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=blobdiff_plain;f=etc%2Fafpd%2Fafp_dsi.c;h=b64d49140f402fc1ddb0f1f0205263563e9808d1;hp=63d2f286499db68372e57bfa1e285e7fa9273b06;hb=130d356c840ea83c31c4724c8ae92660360eb07b;hpb=6a530a4b203eddcbe2dba44a11fa3e3150707b11 diff --git a/etc/afpd/afp_dsi.c b/etc/afpd/afp_dsi.c index 63d2f286..b64d4914 100644 --- a/etc/afpd/afp_dsi.c +++ b/etc/afpd/afp_dsi.c @@ -322,9 +322,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");