diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-03-05 20:21:00 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-03-05 20:21:00 +0000 |
commit | 3f43c8cd59c4993b77f9e23b5257c97874bebe8c (patch) | |
tree | 50c1709ee1206af7ad751332786413ceb5d7766a /src/parse.c | |
parent | fe70e876dbe9c6cc3f2002c1dac79fa6a43aa17f (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/parse.c')
-rw-r--r-- | src/parse.c | 3 |
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) { |