]> gitweb.ps.run Git - ps-cgit/commitdiff
ui-summary.c: Move urls variable into print_urls()
authorLukas Fleischer <cgit@cryptocrack.de>
Tue, 5 Mar 2013 15:48:27 +0000 (16:48 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 20 Mar 2013 20:08:32 +0000 (21:08 +0100)
There's no need for this variable to be global. Printing the header in
print_urls() instead of print_url() allows for moving this variable into
print_urls() without having to pass any status to print_url().

Note that this only works as long as we don't call print_urls() more
than once.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>

No differences found