summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-03-05 20:21:00 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-03-05 20:21:00 +0000
commit3f43c8cd59c4993b77f9e23b5257c97874bebe8c (patch)
tree50c1709ee1206af7ad751332786413ceb5d7766a /src
parentfe70e876dbe9c6cc3f2002c1dac79fa6a43aa17f (diff)
- 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
Diffstat (limited to 'src')
-rw-r--r--src/parse.c3
1 files changed, 1 insertions, 2 deletions
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]; /* <prefix> + <params> + 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)
{