This bug was fixed upstream in https://github.com/eldy/awstats/commit/6ca56baf8e5819787c128e5ccd741701cb84bfdd but nobody closed the bug on SourceForge.
Marius Gedminas -- Unix for stability; Macs for productivity; Palm for mobility; Windows for Solitaire