The function was attempting to write the reply to the log even if the reply was empty. llvm-svn: 279513