mirror of
https://github.com/znc/znc.git
synced 2026-05-01 02:52:30 +02:00
If strftime() returns 0, the buffer we passed to it shouldn't be touched at all, because it's not guaranteed to be null-terminated. Someone (*cough*) already tried to fix this in r1394, but failed badly. Thanks to DarthGandalf for spotting this and providing a patch. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1671 726aef4b-f618-498e-8847-2d620e286838
32 KiB
32 KiB