Added -notls argument and removed server name hack
Added jabber_conn struct to represent connections
This commit is contained in:
@@ -34,10 +34,12 @@
|
||||
static void _profanity_event_loop(int *ch, char *cmd, int *size);
|
||||
static void _process_special_keys(int *ch);
|
||||
|
||||
void profanity_main(void)
|
||||
void profanity_main(int disable_tls)
|
||||
{
|
||||
int cmd_result = TRUE;
|
||||
|
||||
init_jabber(disable_tls);
|
||||
|
||||
inp_non_block();
|
||||
while(cmd_result == TRUE) {
|
||||
int ch = ERR;
|
||||
|
||||
Reference in New Issue
Block a user