Adapt type of list of group ids to what the setgroups function expects

Change-Id: I1376f5015df18892ea435174a73166d099d5080a
Specify return value for main function

Change-Id: I97596ffa14667c50ce94075726b9a56d40178715
Turn finalizer of projects list into proper list

-Wall warned about it. And also, it gets dereferenced filter.c:159. So
we make it a proper project instance. By setting full to NULL, the
looping over projects terminates as expected.

Now all warnings have been dealt with, and “make all” passes without
any warning :-)

Change-Id: I027a23283a432aea2d15d5ecb2a7a7f806e5a1eb
Stop reading past the end of the array of whitelisted mediawiki wikis

The for loop in filter.c:31 walks over the array and assumes that it
can dereference whatever follows the last element. This is potentially
harmful and breaks the filter for -O2.

Change-Id: I895ebf578207ead76fe5855e31e8d7419812e572
Allow array to hold full logline's keytext

Otherwise, the snprint in collector.c:158 may write across array
boundaries and cause a segfault.

Change-Id: I389ce34e882db44270310bee6ed186db8907f963
Make collector object file depend on include file

collector.o was built from collector.c without the dependency on the
corresponding include file. However, collector.o also depends on
collector.h, so we make that dependency explicit.

Change-Id: Ia0266de0faf64c0ec77a1c393b0956f8755f9551
Enable optimizations at level 2

Level 2 is generally safe to use, and turning on optimizations shaves
off ~35% runtime for filter.

Change-Id: I5aedd11b4ea7140ff2156625310541a52decf31e
Stop counting 301, 302, 303 HTTP status codes

Those codes are just redirects. Browsers will request the desired
document in a separate request.

Bug: 71790
Change-Id: I4b03e323de0dd41080313a65375b14000db0bcc3