Skip to content

Commit

Permalink
Silence the NULL hostname error in jobqueue
Browse files Browse the repository at this point in the history
Make it initialize the jobHost to QString("") now that we are being more
careful about passing NULL.  When we want to send jobs to any host, "" should
work.
  • Loading branch information
Beirdo committed Aug 8, 2011
1 parent e5784de commit e03fc09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/jobqueue.cpp
Expand Up @@ -489,7 +489,7 @@ bool JobQueue::QueueRecordingJobs(const RecordingInfo &recinfo, int jobTypes)

if (jobTypes != JOB_NONE)
{
QString jobHost;
QString jobHost = QString("");

if (gCoreContext->GetNumSetting("JobsRunOnRecordHost", 0))
jobHost = recinfo.GetHostname();
Expand Down

0 comments on commit e03fc09

Please sign in to comment.