summaryrefslogtreecommitdiff
path: root/src/ntp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ntp.c')
-rwxr-xr-x[-rw-r--r--]src/ntp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ntp.c b/src/ntp.c
index b4fe63aa..abb2caa2 100644..100755
--- a/src/ntp.c
+++ b/src/ntp.c
@@ -208,6 +208,8 @@ static void send_packet(int fd, const char *server, uint32_t timeout)
static gboolean next_poll(gpointer user_data)
{
+ poll_id = 0;
+
if (!timeserver || transmit_fd == 0)
return FALSE;