Guest User

Untitled

a guest
Jun 21st, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. Index: seattlelib/time.repy
  2. ===================================================================
  3. --- seattlelib/time.repy (revision 2381)
  4. +++ seattlelib/time.repy (working copy)
  5. @@ -46,7 +46,6 @@
  6.  
  7. def time_decode_NTP_packet(ip, port, mess, ch):
  8. time_settime(time_convert_timestamp_to_float(mess[40:48]))
  9. - stopcomm(ch)
  10.  
  11.  
  12.  
  13. @@ -124,6 +123,7 @@
  14.  
  15. if startlen < len(time_query_times):
  16. # If we've had a response, we're done!
  17. + stopcomm(listenhandle)
  18. return
Add Comment
Please, Sign In to add comment