~ubuntu-branches/debian/squeeze/ntp/squeeze-201010051545

« back to all changes in this revision

Viewing changes to ntpd/refclock_pcf.c

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2004-10-11 16:10:27 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041011161027-icyjbji8ujym633o
Tags: 1:4.2.0a-10ubuntu2
Use ntp.ubuntulinux.org instead of pool.ntp.org

Show diffs side-by-side

added added

removed removed

Lines of Context:
196
196
        pp->hour = tp->tm_hour;
197
197
        pp->minute = tp->tm_min;
198
198
        pp->second = tp->tm_sec;
199
 
        pp->usec = buf[16] * 31250;
 
199
        pp->nsec = buf[16] * 31250000;
200
200
        if (buf[17] & 1)
201
 
                pp->usec += 500000;
 
201
                pp->nsec += 500000000;
202
202
 
203
203
#ifdef DEBUG
204
204
        if (debug)
216
216
                pp->leap = LEAP_NOTINSYNC;
217
217
        else
218
218
                pp->leap = LEAP_NOWARNING;
 
219
        pp->lastref = pp->lastrec;
219
220
        refclock_receive(peer);
220
221
}
221
222
#else