From: Mike Frysinger Date: Sat, 28 Sep 2013 05:01:59 +0000 (-0400) Subject: tcp-client: handle connection errors X-Git-Tag: v3.2~2 X-Git-Url: https://git.wh0rd.org/?p=chrome-ext%2Fmusic-player-client.git;a=commitdiff_plain;h=fac1d77114bffa0716586ac32e64772bb24fb40a;hp=fac1d77114bffa0716586ac32e64772bb24fb40a tcp-client: handle connection errors If a connection fails, we get back the resultCode, but we never actually check it. That means we lie to the higher layers and say we're connected when we're not really. Also pass that code to the higher levels if they've requested notification. ---