From: Richard Jones Date: Thu, 8 Apr 2010 17:53:40 +0000 (+0100) Subject: Fix for "warning: unexpected connection from UID ..." X-Git-Tag: 1.3.2~16 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=fb4ec82d97f71963ea7f830cb0bc38abefcbac99;hp=fb4ec82d97f71963ea7f830cb0bc38abefcbac99;p=libguestfs.git Fix for "warning: unexpected connection from UID ..." This warning is currently a fatal error. The code attempts to retry the accept call, but because we don't reset sock = -1 the retry doesn't happen and it dies anyway. Set sock = -1 so the retry attempt can happen. ---