ssh.c
18.4 KB
-
ssh: move NULL check to the free function · 81be2f46
Let `ssh_stream_free()` take a NULL stream, as free functions should, and remove the check from the connection setup. The connection setup would not need the check anyhow, as we always have a stream by the time we reach this code.
Carlos Martín Nieto committed