From 3f43c8cd59c4993b77f9e23b5257c97874bebe8c Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 5 Mar 2014 20:21:00 +0000 Subject: - parse.c: moved 'sender' variable to inner scope git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3102 82007160-df01-0410-b94d-b575c5fd34c7 --- src/parse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/parse.c') diff --git a/src/parse.c b/src/parse.c index b801193..66e5e72 100644 --- a/src/parse.c +++ b/src/parse.c @@ -100,7 +100,6 @@ struct MessageTree static struct MessageTree msg_tree; -static char *sender; static char *para[MAXPARA + 2]; /* + + NULL */ static int cancel_clients(struct Client *, struct Client *, char *); @@ -140,7 +139,7 @@ parse(struct Client *client_p, char *pbuffer, char *bufend) * Copy the prefix to 'sender' assuming it terminates * with SPACE (or NULL, which is an error, though). */ - sender = ++ch; + char *sender = ++ch; if ((s = strchr(ch, ' ')) != NULL) { -- cgit