New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curl_timeleft: change return type to timediff_t #2021

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@bagder
Member

bagder commented Oct 26, 2017

returning 'time_t' was problematic when that type is unsigned and we
check values less than zero to detect "already expired" on several
places in the code.

Curl_timeleft: change return type to timediff_t
returning 'time_t' was problematic when that type is unsigned and we
check values less than zero to detect "already expired" on several
places in the code.

@bagder bagder closed this in 0d85eed Oct 28, 2017

@bagder bagder deleted the bagder/timeleft-timediff_t branch Oct 29, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment