diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2011-11-08 11:13:37 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2011-11-08 11:17:38 +0100 |
commit | e57c7e1e3f2a657d153365fee368c9edac3bda62 (patch) | |
tree | 8063a96c0c729a236ca819a323469033bd07968f /src/stream.c | |
parent | d3ba14648c8fc9d9f853c3aebd1476dc8d46e4d4 (diff) |
stream: don't destroy server connection on error
This patch includes a minor fix. We don't destroy connection on
errors, it should be the caller which must control this.
Diffstat (limited to 'src/stream.c')
-rw-r--r-- | src/stream.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/stream.c b/src/stream.c index 46c1046..c87f999 100644 --- a/src/stream.c +++ b/src/stream.c @@ -548,11 +548,9 @@ int osmo_stream_server_conn_recv(struct osmo_stream_server_conn *conn, LOGP(DLINP, LOGL_ERROR, "lost connection with server\n"); } - osmo_stream_server_conn_destroy(conn); return ret; } else if (ret == 0) { LOGP(DLINP, LOGL_ERROR, "connection closed with server\n"); - osmo_stream_server_conn_destroy(conn); return ret; } msgb_put(msg, ret); |