]> arthur.barton.de Git - ngircd-alex.git/commit
Handle 1-character messages terminated with CR or LF correctly
authorAlexander Barton <alex@barton.de>
Fri, 2 May 2008 00:14:15 +0000 (02:14 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 2 May 2008 00:14:15 +0000 (02:14 +0200)
commit2a790861a1334c17f87405c60c1417b15bbce392
treee7413dbdf37067397dc565138b6c176ad43c49de
parent4e507881f30c8b4296d87de519658e45f8cb417f
Handle 1-character messages terminated with CR or LF correctly

Code cleanup and fix for Bug #83, "ngIRCd chokes on 1-character messages" in
function Handle_Buffer(): the buffer is now correctly cleared when ngIRCd
receives 1-character messages terminated with either CR or LF (in violation
to RFC 2812, section 2.3 "Messages", 5th paragraph).
ChangeLog
src/ngircd/conn.c