Added the error check in log.c. git-svn-id: file:///home/svn/mapi/trunk@1302 8d5bb341-7cf1-0310-8cf6-ba355fef3186