Re: [PATCH 1/2] obexd: Remove obc_session_setpath limit

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

 



Hi Christian,

On Wed, Feb 13, 2013 at 4:02 PM, Christian Fetzer
<christian.fetzer@xxxxxxxxxxxxxxxx> wrote:
> From: Christian Fetzer <christian.fetzer@xxxxxxxxxxxx>
>
> obc_session_setpath is able to handle multiple folder changes at once.
> This removes the limit, that was introduced because of PBAP's limitation
> to 3 levels (75d32c6b3a3bddaad19b7880950f9a503afe652b).
>
> Other profiles like MAP might have deeper folder hierarchies.
> ---
>  obexd/client/session.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/obexd/client/session.c b/obexd/client/session.c
> index db37a86..f8aae5d 100644
> --- a/obexd/client/session.c
> +++ b/obexd/client/session.c
> @@ -929,7 +929,7 @@ guint obc_session_setpath(struct obc_session *session, const char *path,
>         data = g_new0(struct setpath_data, 1);
>         data->func = func;
>         data->user_data = user_data;
> -       data->remaining = g_strsplit(path, "/", 3);
> +       data->remaining = g_strsplit(path, "/", 0);
>
>         p = pending_request_new(session, NULL, setpath_complete, data);
>
> --
> 1.8.1.3

This set is now upstream, thanks.


-- 
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