/[svn]/ircd-hybrid/trunk/src/send.c
ViewVC logotype

Diff of /ircd-hybrid/trunk/src/send.c

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

revision 4621 by michael, Tue Aug 26 15:59:07 2014 UTC revision 4622 by michael, Mon Sep 8 18:25:00 2014 UTC
# Line 71  send_format(struct dbuf_block *buffer, c Line 71  send_format(struct dbuf_block *buffer, c
71     */     */
72    dbuf_put_args(buffer, pattern, args);    dbuf_put_args(buffer, pattern, args);
73    
74    if (buffer->size > sizeof(buffer->data) - 2)    if (buffer->size > IRCD_BUFSIZE - 2)
75      buffer->size = sizeof(buffer->data) - 2;      buffer->size = IRCD_BUFSIZE - 2;
76    
77    buffer->data[buffer->size++] = '\r';    buffer->data[buffer->size++] = '\r';
78    buffer->data[buffer->size++] = '\n';    buffer->data[buffer->size++] = '\n';

Legend:
Removed from v.4621  
changed lines
  Added in v.4622

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