Base Code merged to SPIN 2.4
[platform/upstream/connman.git] / src / ntp.c
old mode 100644 (file)
new mode 100755 (executable)
index b4fe63a..abb2caa
--- 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;