Show
Ignore:
Timestamp:
07/11/08 01:13:42 (5 months ago)
Author:
psmedley
Message:

Update branch to 3.0.31 release

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/lib/time.c

    r44 r140  
    12131213        /* d is now in 100ns units, since jan 1st 1601". 
    12141214           Save off the ns fraction. */ 
    1215          
    1216         ret.tv_nsec = (long) ((d % 100) * 100); 
     1215 
     1216        /* 
     1217         * Take the last seven decimal digits and multiply by 100. 
     1218         * to convert from 100ns units to 1ns units. 
     1219         */ 
     1220        ret.tv_nsec = (long) ((d % (1000 * 1000 * 10)) * 100); 
    12171221 
    12181222        /* Convert to seconds */