Mercurial > ~mikael > mcabber > hg
comparison mcabber/connwrap/connwrap.c @ 414:ec86d759ed54
Trailing whitespace cleanup
No real change.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 30 Aug 2005 22:26:19 +0200 |
parents | 82064124324d |
children | ac85ce87f539 |
comparison
equal
deleted
inserted
replaced
413:f7e4b0424081 | 414:ec86d759ed54 |
---|---|
288 sslsock *p; | 288 sslsock *p; |
289 if (*state & CW_CONNECT_SSL) | 289 if (*state & CW_CONNECT_SSL) |
290 p = getsock(sockfd); | 290 p = getsock(sockfd); |
291 else | 291 else |
292 p = addsock(sockfd); | 292 p = addsock(sockfd); |
293 | 293 |
294 rc = SSL_connect(p->ssl); | 294 rc = SSL_connect(p->ssl); |
295 switch(rc){ | 295 switch(rc){ |
296 case 1: | 296 case 1: |
297 *state = 0; | 297 *state = 0; |
298 return 0; | 298 return 0; |
445 c = (inlen < 2) ? '-' : base64digits[ (in[j+1] << 2) & 0x3c ]; | 445 c = (inlen < 2) ? '-' : base64digits[ (in[j+1] << 2) & 0x3c ]; |
446 strncat(out, &c, 1); | 446 strncat(out, &c, 1); |
447 c = '-'; | 447 c = '-'; |
448 strncat(out, &c, 1); | 448 strncat(out, &c, 1); |
449 } | 449 } |
450 | 450 |
451 return out; | 451 return out; |
452 } | 452 } |