aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-07-09 22:32:31 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-07-09 22:34:42 +0200
commit567ce622571872cff9dfe92a43b8529072a3d55b (patch)
tree54f0a6b938a9a5a0abd2b6a3cf5c73623edbdba3
parentba1ac58d9d48a955786c05dddf17f57cffd9baf0 (diff)
downloadxK-567ce622571872cff9dfe92a43b8529072a3d55b.tar.gz
xK-567ce622571872cff9dfe92a43b8529072a3d55b.tar.xz
xK-567ce622571872cff9dfe92a43b8529072a3d55b.zip
degesch: tiny miscellaneous fixes
-rw-r--r--degesch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/degesch.c b/degesch.c
index 0119b13..d35e106 100644
--- a/degesch.c
+++ b/degesch.c
@@ -5306,7 +5306,7 @@ irc_handle_topic (struct server *s, const struct irc_message *msg)
static struct irc_handler
{
- char *name;
+ const char *name;
void (*handler) (struct server *s, const struct irc_message *msg);
}
g_irc_handlers[] =
@@ -5666,7 +5666,7 @@ irc_handle_rpl_inviting (struct server *s, const struct irc_message *msg)
const char *channel_name = msg->params.vector[1];
const char *nickname = msg->params.vector[2];
- struct buffer *buffer;;
+ struct buffer *buffer;
if (!(buffer = str_map_find (&s->irc_buffer_map, channel_name)))
buffer = s->buffer;