Re: [PATCH] provide a workaround if program_invocation_short_name is missing

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

 



On Monday, January 17, 2011 15:01:02 Fabian Groffen wrote:
> +static inline char *
> +prog_inv_sh_nm_from_file(char *f) {

decuddle the brace

> +	if ((t = strrchr(f, '/')) != NULL) {
> +		t++;
> +	} else {
> +		t = f;
> +	}

braces are not necessary here
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux