aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--remote_plot.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/remote_plot.c b/remote_plot.c
index ff2f888..cc9b164 100644
--- a/remote_plot.c
+++ b/remote_plot.c
@@ -300,11 +300,8 @@ int main()
exit(-1);
}
- //...
- printf("a\n");
sftp = sftp_new(my_ssh_session);
- printf("b\n");
if (sftp == NULL)
{
fprintf(stderr, "Error allocating SFTP session: %s\n",
@@ -313,7 +310,6 @@ int main()
}
rc = sftp_init(sftp);
- printf("c\n");
if (rc != SSH_OK)
{
fprintf(stderr, "Error initializing SFTP session: code %d.\n",
@@ -324,12 +320,8 @@ int main()
sftp_read_sync(my_ssh_session,sftp);
- printf("d\n");
ssh_disconnect(my_ssh_session);
- printf("e\n");
ssh_free(my_ssh_session);
- printf("f\n");
// Segmentation fault (core dumped) error, why? maybe double free? so no free is ok?
//sftp_free(sftp);
- printf("g\n");
}