Fix crash on reading logs from socket
Ref #508 (closed) reported by @dgnthr
Fix division by zero when log is expected to end in the same second as it starts.
Edited by Sam Tuke
Ref #508 (closed) reported by @dgnthr
Fix division by zero when log is expected to end in the same second as it starts.