mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:47:02 +02:00
Fixed init_ssl() name to init_ssl_to_server()
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
@ -96,7 +96,7 @@ int connect_to_imap_server(struct data *data){
|
||||
data->import->cap_uidplus = 0;
|
||||
|
||||
if(data->net->use_ssl == 1){
|
||||
init_ssl(data);
|
||||
init_ssl_to_server(data);
|
||||
}
|
||||
|
||||
|
||||
|
@ -730,7 +730,7 @@ int read_one_line(char *s, int c, char *buf, int buflen, int *rc){
|
||||
}
|
||||
|
||||
|
||||
int init_ssl(struct data *data){
|
||||
int init_ssl_to_server(struct data *data){
|
||||
int n;
|
||||
X509* server_cert;
|
||||
char *str;
|
||||
|
@ -51,7 +51,7 @@ int can_i_write_directory(char *dir);
|
||||
void move_email(struct smtp_session *session);
|
||||
int read_one_line(char *s, int c, char *buf, int buflen, int *rc);
|
||||
|
||||
int init_ssl(struct data *data);
|
||||
int init_ssl_to_server(struct data *data);
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
char *strcasestr(const char *s, const char *find);
|
||||
|
@ -37,7 +37,7 @@ int connect_to_pop3_server(struct data *data){
|
||||
char buf[MAXBUFSIZE];
|
||||
|
||||
if(data->net->use_ssl == 1){
|
||||
init_ssl(data);
|
||||
init_ssl_to_server(data);
|
||||
}
|
||||
|
||||
recvtimeoutssl(data->net, buf, sizeof(buf));
|
||||
|
Reference in New Issue
Block a user