diff --git a/maestro/pool_client.c b/maestro/pool_client.c index b429326ff1341089cd4828631599cffaece5b2c4..7bfea9f23615c9b77b1d9bcbafa889c69fc5ba01 100644 --- a/maestro/pool_client.c +++ b/maestro/pool_client.c @@ -808,7 +808,7 @@ mstro_pc__handle_transfer_completed(Mstro__Pool__MstroMsg *msg) goto DONE; } int64_t realsize = *(int64_t*)size; - if(realsize==-1 && realsize!=0) { + if(realsize==-1 || realsize==0) { s=MSTRO_OK; // 0-size CDO or type-0 CDO DEBUG("Source CDO empty, doing NULL transfer\n"); s=MSTRO_OK;