ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/numeric.c
(Generate patch)

Comparing:
ircd-hybrid/src/numeric.c (file contents), Revision 30 by adx, Sun Oct 2 20:03:27 2005 UTC vs.
ircd-hybrid-8/src/numeric.c (file contents), Revision 1309 by michael, Sun Mar 25 11:24:18 2012 UTC

# Line 19 | Line 19
19   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
20   *  USA
21   *
22 < *  $Id: numeric.c,v 7.28 2005/08/17 16:02:52 michael Exp $
22 > *  $Id$
23   */
24  
25   #include "stdinc.h"
26  
27   #include "numeric.h"
28   #include "irc_string.h"
29 – #include "common.h"     /* NULL cripes */
29   #include "memory.h"
30 < #include "s_log.h"
30 > #include "log.h"
31   #include "fileio.h"
32   #include "send.h"
33   #include "client.h"
# Line 91 | Line 90 | change_reply(const char *locale, int lin
90                for (; *old >= '0' && *old <= '9'; old++); /* skip size prefix */
91                if (*new != *old++)
92                {
93 <                ilog(L_ERROR, "Incompatible format symbols (%s.lang, %d)",
94 <                              locale, linecnt);
93 >                ilog(LOG_TYPE_IRCD, "Incompatible format symbols (%s.lang, %d)",
94 >                     locale, linecnt);
95                  return 0;
96                }
97                found = 1;
# Line 102 | Line 101 | change_reply(const char *locale, int lin
101          }
102          if (!found)
103          {
104 <          ilog(L_ERROR, "Too many format symbols (%s.lang, %d)", locale, linecnt);
104 >          ilog(LOG_TYPE_IRCD, "Too many format symbols (%s.lang, %d)", locale, linecnt);
105            return(0);
106          }
107        }
# Line 176 | Line 175 | set_locale(const char *locale)
175        if (*reply != ':')
176        {
177          error:
178 <        ilog(L_ERROR, "Invalid line in language file (%s.lang, %d)",
179 <                      locale, linecnt);
178 >        ilog(LOG_TYPE_IRCD, "Invalid line in language file (%s.lang, %d)",
179 >             locale, linecnt);
180          res = 0;
181          continue;
182        }
# Line 206 | Line 205 | set_locale(const char *locale)
205      }
206      if (i != -1)
207      {
208 <      ilog(L_ERROR,
208 >      ilog(LOG_TYPE_IRCD,
209             "Unknown numeric %s (%s.lang, %d)", ident, locale, linecnt);
210        res = 0;
211      }

Comparing:
ircd-hybrid/src/numeric.c (property svn:keywords), Revision 30 by adx, Sun Oct 2 20:03:27 2005 UTC vs.
ircd-hybrid-8/src/numeric.c (property svn:keywords), Revision 1309 by michael, Sun Mar 25 11:24:18 2012 UTC

# Line 1 | Line 1
1 < "Id Revision"
1 > Id Revision

Diff Legend

– Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)