author | tille <tille> | 2002-06-26 16:34:14 (UTC) |
---|---|---|
committer | tille <tille> | 2002-06-26 16:34:14 (UTC) |
commit | 9d692658a94c59889c6e46baaeae971226952eb8 (patch) (unidiff) | |
tree | 4cd8a9cf939a5e096e3c1610feac1678131b1673 /noncore/settings/netsystemtime/ntp.cpp | |
parent | 12ec527b60e774d0f794fa98f8b6fdf9c194b7a9 (diff) | |
download | opie-9d692658a94c59889c6e46baaeae971226952eb8.zip opie-9d692658a94c59889c6e46baaeae971226952eb8.tar.gz opie-9d692658a94c59889c6e46baaeae971226952eb8.tar.bz2 |
improved startup
Diffstat (limited to 'noncore/settings/netsystemtime/ntp.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/ntp.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/settings/netsystemtime/ntp.cpp b/noncore/settings/netsystemtime/ntp.cpp index bcbf7a1..b2f5332 100644 --- a/noncore/settings/netsystemtime/ntp.cpp +++ b/noncore/settings/netsystemtime/ntp.cpp | |||
@@ -266,8 +266,7 @@ void Ntp::slotCheckNtp(int i) | |||
266 | 266 | ||
267 | void Ntp::slotProbeNtpServer() | 267 | void Ntp::slotProbeNtpServer() |
268 | { | 268 | { |
269 | if ( ntpDelayElapsed() ) | 269 | ntpSock->connectToHost( getNtpServer() ,123); |
270 | ntpSock->connectToHost( getNtpServer() ,123); | ||
271 | } | 270 | } |
272 | 271 | ||
273 | void Ntp::slotNtpDelayChanged(int delay) | 272 | void Ntp::slotNtpDelayChanged(int delay) |