]> jfr.im git - solanum.git/commit - ircd/send.c
send: fix infinite recursion in _send_linebuf
authorDoug Freed <redacted>
Sun, 29 Nov 2020 01:03:29 +0000 (20:03 -0500)
committerDoug Freed <redacted>
Sun, 29 Nov 2020 01:08:46 +0000 (20:08 -0500)
commit6638c837cce068adbc3d3dfdef136a30443f6724
tree25ea7e942cd1bf1e15e6710ede72052cb2ad89d1
parent31f9d9b2f3db1c1889af9370281debe24ba77034
send: fix infinite recursion in _send_linebuf

A netwide snote eventually calls into this function again with the same
server as has already been determined is over its sendq.  Mark the link
dead before sending the snote to avoid infinite recursion.
ircd/send.c