Re: [PATCH obexd v1 01/11] client: minor buffer access api changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mikel,

On Tue, Apr 10, 2012 at 4:38 PM, Mikel Astiz <mikel.astiz.oss@xxxxxxxxx> wrote:
> @@ -1169,29 +1168,18 @@ const char *obc_session_get_buffer(struct obc_session *session, size_t *size)
>                return NULL;
>        }
>
> -       buf = obc_transfer_get_buffer(transfer, size);
> -
> -       obc_transfer_clear_buffer(transfer);
> -
> -       return buf;
> +       return obc_transfer_get_buffer(transfer, size);
>  }
>

Lets just not mix unrelated things so leave clear_buffer for now,
besides I would really like to remove the memory buffering completely
and start using temporary files, so doing cosmetic changes IMO is
useless if we are not fixing real bugs.


-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux