5d69dd4 be_ptask: use gettimeofday() instead of time()

2 files Authored by pbrezina 9 years ago, Committed by jhrozek 9 years ago,
    be_ptask: use gettimeofday() instead of time()
    
    Sometimes the timestamp from gettimeofday() slightly differs
    from the one obtained via time() which caused unit test to fail on
    occasionaly.
    
    Resolves:
    https://fedorahosted.org/sssd/ticket/2521
    
    Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
    
        
file modified
+1 -1