From: David Goulet Date: Thu, 20 Dec 2012 01:56:04 +0000 (-0500) Subject: Fix: bad check of accept() return value X-Git-Tag: v2.1.0~5 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=534d2592c0566f7c07cd9e9f9385781a65566e16;hp=534d2592c0566f7c07cd9e9f9385781a65566e16;p=lttng-tools.git Fix: bad check of accept() return value Also fix a missing ret = -1 assignment. Although, the chances are unlikely to hit a positive ret value that does not match the structure size, better safe than sorry. Signed-off-by: David Goulet ---