diff options
author | Andreas Kotes <count@flatline.de> | 2014-04-16 15:20:49 +0200 |
---|---|---|
committer | Andreas Kotes <count@flatline.de> | 2014-04-16 15:20:49 +0200 |
commit | 0171de7653dbc409f8a936e80a8c9bc3ab3d1bdb (patch) | |
tree | 9417f66bc1bd4e5f2f882060b81e042dda7faa11 /vchat-ui.c | |
parent | cc89915d8cc8361c29318ee954f4fff14d862cb7 (diff) |
version 0.19
* fixed version string display
* failing on SSL verify failures
* removed ignssl option
* reenabled ciphers options
* added verifyssl option (cert verify depth)
Diffstat (limited to 'vchat-ui.c')
-rwxr-xr-x | vchat-ui.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -36,11 +36,11 @@ | |||
36 | #include "vchat-user.h" | 36 | #include "vchat-user.h" |
37 | 37 | ||
38 | /* version of this module */ | 38 | /* version of this module */ |
39 | char *vchat_ui_version = "$Id$"; | 39 | const char *vchat_ui_version = "$Id$"; |
40 | 40 | ||
41 | /* externally used variables */ | 41 | /* externally used variables */ |
42 | /* current string in topic window */ | 42 | /* current string in topic window */ |
43 | char topicstr[TOPICSTRSIZE] = "[] VChat 0.18"; | 43 | char topicstr[TOPICSTRSIZE] = "[] VChat 0.19"; |
44 | /* current string in console window */ | 44 | /* current string in console window */ |
45 | char consolestr[CONSOLESTRSIZE] = "[ Get help: .h for server /h for client commands"; | 45 | char consolestr[CONSOLESTRSIZE] = "[ Get help: .h for server /h for client commands"; |
46 | 46 | ||
@@ -117,7 +117,7 @@ static void forceredraw_wrapper (int a) {forceredraw();} | |||
117 | static void drawwin (WINDOW *win, struct sb_data *sb); | 117 | static void drawwin (WINDOW *win, struct sb_data *sb); |
118 | static int writescr (WINDOW *win, struct sb_entry *entry); | 118 | static int writescr (WINDOW *win, struct sb_entry *entry); |
119 | static int testfilter ( struct sb_entry *entry); | 119 | static int testfilter ( struct sb_entry *entry); |
120 | static int gettextwidth (char *textbuffer); | 120 | static int gettextwidth (const char *textbuffer); |
121 | static void resize_output (void); | 121 | static void resize_output (void); |
122 | static int getsbeheight (struct sb_entry *entry, const int xwidth, int needstime ); | 122 | static int getsbeheight (struct sb_entry *entry, const int xwidth, int needstime ); |
123 | static int getsbdataheight (struct sb_data *data, const int xwidth, int needstime ); | 123 | static int getsbdataheight (struct sb_data *data, const int xwidth, int needstime ); |
@@ -308,7 +308,7 @@ sb_clear ( struct sb_data **sb ) { | |||
308 | }*/ | 308 | }*/ |
309 | 309 | ||
310 | static struct sb_entry* | 310 | static struct sb_entry* |
311 | sb_add (struct sb_data *sb, char *line, time_t when) { | 311 | sb_add (struct sb_data *sb, const char *line, time_t when) { |
312 | struct sb_entry *newone = malloc (sizeof(struct sb_entry)); | 312 | struct sb_entry *newone = malloc (sizeof(struct sb_entry)); |
313 | if( newone ) { | 313 | if( newone ) { |
314 | if( sb->count == sb->scroll ) sb->scroll++; | 314 | if( sb->count == sb->scroll ) sb->scroll++; |
@@ -350,7 +350,7 @@ void showout (void) | |||
350 | resize(0); | 350 | resize(0); |
351 | } | 351 | } |
352 | 352 | ||
353 | void writeout (char *str) | 353 | void writeout (const char *str) |
354 | { | 354 | { |
355 | int i; | 355 | int i; |
356 | sb_add(sb_out,str,time(NULL)); | 356 | sb_add(sb_out,str,time(NULL)); |
@@ -865,7 +865,7 @@ resize (int signal) | |||
865 | } | 865 | } |
866 | 866 | ||
867 | static int | 867 | static int |
868 | gettextwidth (char *textbuffer) | 868 | gettextwidth (const char *textbuffer) |
869 | { | 869 | { |
870 | int width = 0; | 870 | int width = 0; |
871 | 871 | ||