From: Hal Rosenstock Date: Thu, 5 Apr 2012 23:29:52 +0000 (-0700) Subject: ib_acme: Better error handling in resolve_gid X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=a17cfa675538335b9650607ea3574a4a427eee8c;p=~shefty%2Fibacm.git ib_acme: Better error handling in resolve_gid A return of 0 is an error for inet_pton but if 0 is returned from resolve_gid, show_path is mistakenly called so if 0 is returned from inet_pton, return -1 instead (which is what is done elsewhere in acme). Signed-off-by: Hal Rosenstock Signed-off-by: Sean Hefty ---