/[svn]/ircd-hybrid/branches/8.1.x/modules/m_encap.c
ViewVC logotype

Diff of /ircd-hybrid/branches/8.1.x/modules/m_encap.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3037 by michael, Mon Jan 20 22:50:56 2014 UTC revision 3038 by michael, Tue Feb 25 19:41:54 2014 UTC
# Line 64  ms_encap(struct Client *client_p, struct Line 64  ms_encap(struct Client *client_p, struct
64      ptr += len;      ptr += len;
65    }    }
66    
67    /*    /* If it's a command without parameters, don't prepend a ':' */
    * If the final parameter crosses our buffer size, should we bail,  
    * like the rest, or should we truncate?  ratbox seems to think truncate,  
    * so i'll do that for now until i can talk to lee.  -bill  
    */  
68    if (parc == 3)    if (parc == 3)
69      snprintf(ptr, sizeof(buffer) - cur_len, "%s", parv[2]);      snprintf(ptr, sizeof(buffer) - cur_len, "%s", parv[2]);
70    else    else

Legend:
Removed from v.3037  
changed lines
  Added in v.3038

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28