Commit Diff


commit - c6742192a6d64d0fd74a23f49dca7cdbf72037ac
commit + edfa2154816932ce184f9db65093711bc9957cb3
blob - 6994c8be8d7fb3876bc88961c95cac258a16f5d3
blob + bfcb8d4bf3646d8e792272d89c3182f648dee184
--- src/ngircd/conn.c
+++ src/ngircd/conn.c
@@ -809,12 +809,12 @@ Conn_Handler(void)
  */
 #ifdef PROTOTYPES
 GLOBAL bool
-Conn_WriteStr( CONN_ID Idx, char *Format, ... )
+Conn_WriteStr(CONN_ID Idx, const char *Format, ...)
 #else
 GLOBAL bool 
-Conn_WriteStr( Idx, Format, va_alist )
+Conn_WriteStr(Idx, Format, va_alist)
 CONN_ID Idx;
-char *Format;
+const char *Format;
 va_dcl
 #endif
 {
blob - f2ec823ea6ee25bed5af38149263cbd228a6a2f7
blob + 1cfa466602379f7c8dc6f7b49e4a59d9ead2367e
--- src/ngircd/conn.h
+++ src/ngircd/conn.h
@@ -107,7 +107,7 @@ GLOBAL void Conn_ExitListeners PARAMS(( void ));
 
 GLOBAL void Conn_Handler PARAMS(( void ));
 
-GLOBAL bool Conn_WriteStr PARAMS(( CONN_ID Idx, char *Format, ... ));
+GLOBAL bool Conn_WriteStr PARAMS(( CONN_ID Idx, const char *Format, ... ));
 
 GLOBAL void Conn_Close PARAMS(( CONN_ID Idx, const char *LogMsg, const char *FwdMsg, bool InformClient ));