]> granicus.if.org Git - fortune-mod/commit
Refactoring / code cleanup.
authorShlomi Fish <shlomif@shlomifish.org>
Wed, 29 Apr 2020 12:31:53 +0000 (15:31 +0300)
committerShlomi Fish <shlomif@shlomifish.org>
Wed, 29 Apr 2020 12:31:53 +0000 (15:31 +0300)
commitbde2eeeca7e327577c75f617dff3f4fa249f50b6
treef8290261e4e5a57aa55daf010ed6556b4a19a48a
parent79c254be524751b31ad9553edd157088d1523d65
Refactoring / code cleanup.

* https://en.wikipedia.org/wiki/Code_refactoring

Some small optimisations may have slipped in as well.

do_free is simply free; copy() was underused.
fortune-mod/fortune/fortune.c