Re: [PATCHv2 2/2] daemon: allow more than one host address given via --listen

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

 



On Sun, Aug 29, 2010 at 5:07 PM, Alexander Sulfrian
<alexander@xxxxxxxxxxxx> wrote:
> @@ -987,6 +997,7 @@ int main(int argc, char **argv)
>        struct group *group;
>        gid_t gid = 0;
>        int i;
> +       int return_value;
>
>        git_extract_argv0_path(argv[0]);
>
<snip>
> @@ -1174,5 +1185,7 @@ int main(int argc, char **argv)
>        if (pid_file)
>                store_pid(pid_file);
>
> -       return serve(listen_addr, listen_port, pass, gid);
> +       return_value = serve(&listen_addr, listen_port, pass, gid);
> +
> +       return return_value;
>  }

Uhm, why? I can't find any other uses for "return_value"...
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]