aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-11-17 15:12:32 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2017-11-17 15:17:07 +0100
commit6d4acefb69b6a6f7fe29bb398ec617d7e3e01a71 (patch)
tree9f067f35c6ef44c89e90caeda18e81e307d5d6cd /examples
parentbea215a565390009ddc79b830db334fa33cc7b3a (diff)
stream: Avoid re-creating and leaking socket when unneeded
In previous implementation, if no reconfiguring is needed, a new socket would be created without closing the old one, leaking the previous socket. Instead, if we don't need reconfiguring, we return 0 as no operation is required. Change-Id: I6c1a7fff63e44840fb5e2bc7ace5e9a61e304987
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions