projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eecb86b
)
added a missing failf() before returning an error code
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 8 Jan 2002 23:23:24 +0000
(23:23 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 8 Jan 2002 23:23:24 +0000
(23:23 +0000)
lib/ssluse.c
patch
|
blob
|
history
diff --git
a/lib/ssluse.c
b/lib/ssluse.c
index
3c4728a
..
47ae497
100644
(file)
--- a/
lib/ssluse.c
+++ b/
lib/ssluse.c
@@
-783,9
+783,11
@@
Curl_SSLConnect(struct connectdata *conn)
/* subtract the passed time */
timeout_ms -= (long)has_passed;
- if(timeout_ms < 0)
+ if(timeout_ms < 0)
{
/* a precaution, no need to continue if time already is up */
- return CURLE_OPERATION_TIMEOUTED;
+ failf(data, "SSL connection timeout");
+ return CURLE_OPERATION_TIMEOUTED;
+ }
}
else
/* no particular time-out has been set */