summaryrefslogtreecommitdiff
path: root/vchat-ui.c
diff options
context:
space:
mode:
authorAndreas Kotes <count@flatline.de>2014-04-16 15:20:49 +0200
committerAndreas Kotes <count@flatline.de>2014-04-16 15:20:49 +0200
commit0171de7653dbc409f8a936e80a8c9bc3ab3d1bdb (patch)
tree9417f66bc1bd4e5f2f882060b81e042dda7faa11 /vchat-ui.c
parentcc89915d8cc8361c29318ee954f4fff14d862cb7 (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-xvchat-ui.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/vchat-ui.c b/vchat-ui.c
index f8bcc45..d4ea668 100755
--- a/vchat-ui.c
+++ b/vchat-ui.c
@@ -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 */
39char *vchat_ui_version = "$Id$"; 39const 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 */
43char topicstr[TOPICSTRSIZE] = "[] VChat 0.18"; 43char topicstr[TOPICSTRSIZE] = "[] VChat 0.19";
44/* current string in console window */ 44/* current string in console window */
45char consolestr[CONSOLESTRSIZE] = "[ Get help: .h for server /h for client commands"; 45char consolestr[CONSOLESTRSIZE] = "[ Get help: .h for server /h for client commands";
46 46
@@ -117,7 +117,7 @@ static void forceredraw_wrapper (int a) {forceredraw();}
117static void drawwin (WINDOW *win, struct sb_data *sb); 117static void drawwin (WINDOW *win, struct sb_data *sb);
118static int writescr (WINDOW *win, struct sb_entry *entry); 118static int writescr (WINDOW *win, struct sb_entry *entry);
119static int testfilter ( struct sb_entry *entry); 119static int testfilter ( struct sb_entry *entry);
120static int gettextwidth (char *textbuffer); 120static int gettextwidth (const char *textbuffer);
121static void resize_output (void); 121static void resize_output (void);
122static int getsbeheight (struct sb_entry *entry, const int xwidth, int needstime ); 122static int getsbeheight (struct sb_entry *entry, const int xwidth, int needstime );
123static int getsbdataheight (struct sb_data *data, const int xwidth, int needstime ); 123static 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
310static struct sb_entry* 310static struct sb_entry*
311sb_add (struct sb_data *sb, char *line, time_t when) { 311sb_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
353void writeout (char *str) 353void 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
867static int 867static int
868gettextwidth (char *textbuffer) 868gettextwidth (const char *textbuffer)
869{ 869{
870 int width = 0; 870 int width = 0;
871 871