ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/src/parse.C
(Generate patch)

Comparing ermyth/src/parse.C (file contents):
Revision 1.3 by pippijn, Sat Jul 21 13:23:22 2007 UTC vs.
Revision 1.4 by pippijn, Tue Aug 28 17:08:12 2007 UTC

1/* 1/*
2 * parse.C: Parsing of IRC messages. 2 * parse.C: Parsing of IRC messages.
3 * Rights to this code are documented in doc/pod/license.pod. 3 * Rights to this code are documented in doc/pod/license.pod.
4 * 4 *
5 * Copyright © 2005-2007 Atheme Project (http://www.atheme.org) 5 * Copyright © 2005-2007 Atheme Project (http://www.atheme.org)
6 */ 6 */
7 7
8static char const rcsid[] = "$Id: parse.C,v 1.3 2007/07/21 13:23:22 pippijn Exp $"; 8static char const rcsid[] = "$Id: parse.C,v 1.4 2007/08/28 17:08:12 pippijn Exp $";
9 9
10#include "atheme.h" 10#include "atheme.h"
11#include "uplink.h" 11#include "uplink.h"
12#include "pmodule.h" 12#include "pmodule.h"
13 13
25 char *message = NULL; 25 char *message = NULL;
26 char *parv[MAXPARC + 1]; 26 char *parv[MAXPARC + 1];
27 static char coreLine[BUFSIZE]; 27 static char coreLine[BUFSIZE];
28 int parc = 0; 28 int parc = 0;
29 unsigned int i; 29 unsigned int i;
30 pcommand_t *pcmd; 30 pcommand_t const *pcmd;
31 31
32 /* clear the parv */ 32 /* clear the parv */
33 for (i = 0; i <= MAXPARC; i++) 33 for (i = 0; i <= MAXPARC; i++)
34 parv[i] = NULL; 34 parv[i] = NULL;
35 35
177 char *message = NULL; 177 char *message = NULL;
178 char *parv[MAXPARC + 1]; 178 char *parv[MAXPARC + 1];
179 static char coreLine[BUFSIZE]; 179 static char coreLine[BUFSIZE];
180 int parc = 0; 180 int parc = 0;
181 unsigned int i; 181 unsigned int i;
182 pcommand_t *pcmd; 182 pcommand_t const *pcmd;
183 183
184 /* clear the parv */ 184 /* clear the parv */
185 for (i = 0; i <= MAXPARC; i++) 185 for (i = 0; i <= MAXPARC; i++)
186 parv[i] = NULL; 186 parv[i] = NULL;
187 187

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines