From: Andre Noll Date: Sat, 5 May 2012 09:04:23 +0000 (+0200) Subject: command.c: Improve get_status(). X-Git-Tag: v0.4.11~14^2~5 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=3667d75edd30f45f6b909bcf5203689c866a77b5;hp=3667d75edd30f45f6b909bcf5203689c866a77b5 command.c: Improve get_status(). We know exactly the number of bytes in the result buffer. By returning this information, the caller can use sc_send_bin_buffer() instead of sc_send_buffer(), which safes one strlen() call. ---