commit | 069b0c8e6f12903f3bffb628f6a8bd9369cc8b60 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Jul 19 17:57:02 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Jul 19 17:57:02 2015 +0200 |
tree | b0e8fdd40e35263eea7ec7d85b1d2c3966fbd2d6 | |
parent | 4c5490ab9ca4c0667eec25748fe6665018c5fae8 [diff] |
CLEANUP: stream: remove a useless call to si_detach() It's pointless to call si_detach() after si_reset() since it does nothing due to si->end being NULL.
diff --git a/src/stream.c b/src/stream.c index 0cd5bb6..d7b8e9f 100644 --- a/src/stream.c +++ b/src/stream.c
@@ -160,7 +160,6 @@ * callbacks will be initialized before attempting to connect. */ si_reset(&s->si[1]); - si_detach(&s->si[1]); if (likely(sess->fe->options2 & PR_O2_INDEPSTR)) s->si[1].flags |= SI_FL_INDEP_STR;