zeromq/czmq — pull request #50 by raggi (2012-06-25 01:46:38+00:00)
Title: Fix for vsnprintf usage to ensure all data is sent

In the case where vsnprintf outputs a char array containing null bytes, then strlen would fail as it's expecting a string terminated with a null byte. By contrast, using the value returned by vsnprintf will always provide the real length of the output string.