bugfix #2127 - fprintf statement conditionalized appropriately
Merge pull request #18 from Horschig/master

bugfix #2127 - fprintf statement conditionalized appropriately