diff options
author | Kamil Dudka <kdudka@redhat.com> | 2010-06-02 23:11:59 +0200 |
---|---|---|
committer | Kamil Dudka <kdudka@redhat.com> | 2010-06-02 23:50:38 +0200 |
commit | c072bd460992355217c9077e2d33152ca0007e8f (patch) | |
tree | 66b4345b6c0fd9ffddaf8b9a9fecc758e37ffd13 /lib/multi.c | |
parent | 684830cb2a2f10e987658ba36915a681271be941 (diff) |
lib: eliminate some dead code
Diffstat (limited to 'lib/multi.c')
-rw-r--r-- | lib/multi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/multi.c b/lib/multi.c index 06ffbd7b1..9abf339b1 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1793,11 +1793,12 @@ static void singlesocket(struct Curl_multi *multi, return; } + /* we know (entry != NULL) at this point, see the logic above */ multi->socket_cb(easy->easy_handle, s, action, multi->socket_userp, - entry ? entry->socketp : NULL); + entry->socketp); entry->action = action; /* store the current action state */ } |