aboutsummaryrefslogtreecommitdiff
path: root/remote_plot.c
diff options
context:
space:
mode:
Diffstat (limited to 'remote_plot.c')
-rw-r--r--remote_plot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote_plot.c b/remote_plot.c
index 201b49c..443747a 100644
--- a/remote_plot.c
+++ b/remote_plot.c
@@ -261,7 +261,7 @@ static gboolean sftp_read_sync(gpointer user_data)
if(AddItem(temp,&(data->cans))==false)
{
fprintf(stderr,"Problem allocating memory\n");
- break;
+ return G_SOURCE_REMOVE;
}
//printf("after AddItem\n");
}