mirror of
https://github.com/curl/curl.git
synced 2026-08-26 21:24:08 +03:00
source cleanup: unify look, style and indent levels
By the use of a the new lib/checksrc.pl script that checks that our basic source style rules are followed.
This commit is contained in:
parent
592eda8e3f
commit
b903186fa0
88 changed files with 1411 additions and 1577 deletions
|
|
@ -294,7 +294,7 @@ void Curl_ssl_delsessionid(struct connectdata *conn, void *ssl_sessionid)
|
|||
for(i=0; i< conn->data->set.ssl.numsessions; i++) {
|
||||
struct curl_ssl_session *check = &conn->data->state.session[i];
|
||||
|
||||
if (check->sessionid == ssl_sessionid) {
|
||||
if(check->sessionid == ssl_sessionid) {
|
||||
kill_session(check);
|
||||
break;
|
||||
}
|
||||
|
|
@ -346,7 +346,7 @@ CURLcode Curl_ssl_addsessionid(struct connectdata *conn,
|
|||
store->sessionid = ssl_sessionid;
|
||||
store->idsize = idsize;
|
||||
store->age = data->state.sessionage; /* set current age */
|
||||
if (store->name)
|
||||
if(store->name)
|
||||
/* free it if there's one already present */
|
||||
free(store->name);
|
||||
store->name = clone_host; /* clone host name */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue