Improving algo_utils

This commit is contained in:
Quentin 2019-06-03 14:58:19 +02:00
parent e93b237e79
commit e7746b6922

View file

@ -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