[PATCH] Extract out version info function
mdounin at mdounin.ru
Wed Sep 30 17:02:03 UTC 2015
On Sat, Sep 26, 2015 at 09:16:37PM -0700, Kurtis Nusbaum wrote:
> # HG changeset patch
> # User Kurtis Nusbaum <klnusbaum at gmail.com>
> # Date 1436715098 25200
> # Sun Jul 12 08:31:38 2015 -0700
> # Node ID 1d5846fa79e64a0920c189a266849bf23b6cab63
> # Parent b40af2fd1c1665bc79bd6c50233dd6c834f60b6b
> Extract out version info function.
> The code for displaying version info and configuration info seemed to be
> cluttering up the main function. I was finding it hard to read main. This
> extracts out all of the logic for displaying version and configuration info
> into its own function, thus making main easier to read.
Committed with a minor style change, thanks.
More information about the nginx-devel