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

Comparing ircd-hybrid/trunk/modules/m_help.c (file contents):
Revision 1699 by michael, Thu Dec 20 11:40:50 2012 UTC vs.
Revision 1737 by michael, Mon Jan 14 17:37:55 2013 UTC

# Line 89 | Line 89 | static void
89   dohelp(struct Client *source_p, const char *hpath, char *topic)
90   {
91    char h_index[] = "index";
92 <  char path[PATH_MAX + 1];
92 >  char path[HYB_PATH_MAX + 1];
93    struct stat sb;
94    unsigned int i;
95  
# Line 106 | Line 106 | dohelp(struct Client *source_p, const ch
106      return;
107    }
108  
109 <  if (strlen(hpath) + strlen(topic) + 1 > PATH_MAX)
109 >  if (strlen(hpath) + strlen(topic) + 1 > HYB_PATH_MAX)
110    {
111      sendto_one(source_p, form_str(ERR_HELPNOTFOUND),
112                 me.name, source_p->name, topic);

Diff Legend

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