X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9e27ad0e459a6ae084ae6f9c102060b9a0e4ad03..cb1db23a12fe8b34de1d3c556f07d931c3d277c0:/src/gras/Transport/transport_plugin_file.c diff --git a/src/gras/Transport/transport_plugin_file.c b/src/gras/Transport/transport_plugin_file.c index ba81c85567..29f64f051c 100644 --- a/src/gras/Transport/transport_plugin_file.c +++ b/src/gras/Transport/transport_plugin_file.c @@ -208,7 +208,6 @@ gras_trp_file_chunk_send_raw(xbt_socket_t sock, { xbt_assert(sock->outgoing, "Cannot write on client file socket"); - xbt_assert(size >= 0, "Cannot send a negative amount of data"); while (size) { int status = 0; @@ -244,7 +243,6 @@ gras_trp_file_chunk_recv(xbt_socket_t sock, xbt_assert(sock, "Cannot recv on an NULL socket"); xbt_assert(sock->incoming, "Cannot recv on client file socket"); - xbt_assert(size >= 0, "Cannot receive a negative amount of data"); if (sock->recvd) { data[0] = sock->recvd_val;