From e7746b69221b83a60c2e0fb3262fe5cb01b34b18 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 3 Jun 2019 14:58:19 +0200 Subject: [PATCH] Improving algo_utils --- src/algo_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/algo_utils.c b/src/algo_utils.c index 3813a6d..5ab5899 100644 --- a/src/algo_utils.c +++ b/src/algo_utils.c @@ -179,8 +179,8 @@ void mv_buffer_atow(struct buffer_resources *app_ctx, void* from, struct evt_cor // 1. We get the buffer bp = g_hash_table_lookup (app_ctx->application_waiting, from); if (bp == NULL) { - fprintf(stderr, "Unable to find this application buffer in atow for %s\n", to->url); - exit(EXIT_FAILURE); + fprintf(stderr, "Unable to find this application buffer in atow. Freeing the packet.\n"); + mv_buffer_atof (app_ctx, from); } // 2. We get the target writing queue