diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-01-29 13:59:28 -0800 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-01-29 13:59:28 -0800 |
commit | 9e28e186b4877efa70d2a78b6d7ff7134debdc53 (patch) | |
tree | 6855341e5152dd2c922ce8a231c63f75c2827f3f | |
parent | 46ca327cc4af2f828c8e4c5da7929f22954f5be3 (diff) |
maybe more proper
-rw-r--r-- | remote_plot.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/remote_plot.c b/remote_plot.c index cc9b164..b1cb2a6 100644 --- a/remote_plot.c +++ b/remote_plot.c @@ -257,7 +257,7 @@ int verify_knownhost(ssh_session session) return 0; } -int main() +int main(void) { ssh_session my_ssh_session; sftp_session sftp; @@ -324,4 +324,6 @@ int main() ssh_free(my_ssh_session); // Segmentation fault (core dumped) error, why? maybe double free? so no free is ok? //sftp_free(sftp); + + return 0; } |