31c1f34 fix a wrong argument to unpack_buffer

1 file Authored by sbose 14 years ago, Committed by sgallagh 14 years ago,
    fix a wrong argument to unpack_buffer
    
    - the patch to handle short read introduced a new variable len to
      store the amount of data read. Instead of using this variable
      unpack_buffer was called with the old variable ret. Thanks to
      mnagy@redhat.com for finding this.
    - this patch also fixes a potential error when the message size is
      equal to the buffer size.