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-8/src/numeric.c (file contents):
Revision 1156 by michael, Tue Aug 9 20:29:20 2011 UTC vs.
Revision 1247 by michael, Sat Oct 1 07:54:24 2011 UTC

# Line 26 | Line 26
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"
31   #include "fileio.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      }

Diff Legend

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