X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprotocol_misc.c;h=66f8980afa96fde8d409c09137a50a258220ee88;hp=25a86abe4ec0d62bd6440468662a7faade82b619;hb=83263b74460656ba557fd9bb84dc27258549e9cd;hpb=5cb147135184e3748c6f5e6e6203d22ab9f904f8 diff --git a/src/protocol_misc.c b/src/protocol_misc.c index 25a86abe..66f8980a 100644 --- a/src/protocol_misc.c +++ b/src/protocol_misc.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: protocol_misc.c,v 1.1.4.12 2003/07/22 20:55:20 guus Exp $ + $Id: protocol_misc.c,v 1.1.4.13 2003/07/24 12:08:16 guus Exp $ */ #include "system.h" @@ -33,7 +33,7 @@ /* Status and error notification routines */ -bool send_status(connection_t *c, int statusno, char *statusstring) +bool send_status(connection_t *c, int statusno, const char *statusstring) { cp(); @@ -62,7 +62,7 @@ bool status_h(connection_t *c) return true; } -bool send_error(connection_t *c, int err, char *errstring) +bool send_error(connection_t *c, int err, const char *errstring) { cp();