parent
394fe1f962
commit
869ca82e44
|
@ -10,7 +10,7 @@ struct _E_Config_Dialog_Data
|
||||||
char *port;
|
char *port;
|
||||||
int monitor;
|
int monitor;
|
||||||
int ssl;
|
int ssl;
|
||||||
int local;
|
int local;
|
||||||
char *host;
|
char *host;
|
||||||
char *user;
|
char *user;
|
||||||
char *pass;
|
char *pass;
|
||||||
|
@ -76,7 +76,7 @@ _fill_data (Config_Box * cb, E_Config_Dialog_Data * cfdata)
|
||||||
cfdata->monitor = 1;
|
cfdata->monitor = 1;
|
||||||
cfdata->ssl = 0;
|
cfdata->ssl = 0;
|
||||||
cfdata->use_exec = 0;
|
cfdata->use_exec = 0;
|
||||||
cfdata->local = 0;
|
cfdata->local = 0;
|
||||||
snprintf (buf, sizeof (buf), "110");
|
snprintf (buf, sizeof (buf), "110");
|
||||||
cfdata->port = strdup (buf);
|
cfdata->port = strdup (buf);
|
||||||
return;
|
return;
|
||||||
|
@ -89,7 +89,7 @@ _fill_data (Config_Box * cb, E_Config_Dialog_Data * cfdata)
|
||||||
cfdata->monitor = cb->monitor;
|
cfdata->monitor = cb->monitor;
|
||||||
cfdata->ssl = cb->ssl;
|
cfdata->ssl = cb->ssl;
|
||||||
cfdata->use_exec = cb->use_exec;
|
cfdata->use_exec = cb->use_exec;
|
||||||
cfdata->local = cb->local;
|
cfdata->local = cb->local;
|
||||||
|
|
||||||
snprintf (buf, sizeof (buf), "%d", cb->port);
|
snprintf (buf, sizeof (buf), "%d", cb->port);
|
||||||
cfdata->port = strdup (buf);
|
cfdata->port = strdup (buf);
|
||||||
|
|
Loading…
Reference in New Issue