diff options
-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; } |