Re: [PATCH obexd] Fix missing Name header check in FTP action code

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

 



Hi Slawek,

On Tue, Aug 09, 2011, Slawomir Bochenski wrote:
> ---
>  plugins/ftp.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)

Applied, but with a minor coding-style modification:

>  	name = obex_get_name(os);
> +
> +	if (name == NULL || !is_filename(name))
> +		return -EBADR;

Usually when we have an assignment to a variable and then an immediately
following check for the variable there's no empty line between the
assignment and the if-statement, so I removed this empty line.

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