No need to set i_buffer twice
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Tue, 26 Aug 2008 17:14:45 +0000 (20:14 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Tue, 26 Aug 2008 17:14:45 +0000 (20:14 +0300)
modules/access/udp.c

index 5a46d2a..0e37351 100644 (file)
@@ -253,5 +253,5 @@ static block_t *BlockUDP( access_t *p_access )
         return NULL;
     }
 
-    return block_Realloc( p_block, 0, p_block->i_buffer = len );
+    return block_Realloc( p_block, 0, len );
 }