TRQ-2261: reinit errmsg in case err info is empty and errcode has set
TRQ-2261: fix coding style
Merge pull request #260 from DSRCompany/trq-2261_qstat_fails_with_no_errmsg

TRQ-2261: qstat fails with no errmsg