forked from mirrors/0ad
47b9a043b2
Throwing exception on NULL is a bit extreme, and unhelpful when it happens in rarely-tested error paths. Printing "(null)" is safer and provides compatibility with glibc sprintf. This was SVN commit r16180.