src/dird/jobq.c
static void update_client_numconcurrentjobs(JCR *jcr, int val)
{
   int num;
   if (!jcr->client) {
      return;
   }

   switch (jcr->getJobType())
   {
   case JT_MIGRATE:
   case JT_COPY:
   case JT_ADMIN:
      break;
   case JT_BACKUP:
   /* Fall through wanted */
   default:
      if (jcr->no_client_used() || jcr->wasVirtualFull) {
         break;
      }
      num = jcr->client->getNumConcurrentJobs();
      jcr->client->setNumConcurrentJobs(num + val);
      break;
   }
}
/* Procedure to update the client->NumConcurrentJobs */
Procedure to update the client->NumConcurrentJobs
Procedure to update the client - > NumConcurrentJobs
static void update_client_numconcurrentjobs(JCR *jcr, int val)
{
   int num;
   if (!jcr->client) {
      return;
   }
   switch (jcr->getJobType())
   {
   case JT_MIGRATE:
   case JT_COPY:
   case JT_ADMIN:
      break;
   case JT_BACKUP:
   default:
      if (jcr->no_client_used() || jcr->wasVirtualFull) {
         break;
      }
      num = jcr->client->getNumConcurrentJobs();
      jcr->client->setNumConcurrentJobs(num + val);
      break;
   }
}
static void update_client_numconcurrentjobs ( JCR * jcr , int val ) { int num ; if ( ! jcr -> client ) { return ; } switch ( jcr -> getJobType ( ) ) { case JT_MIGRATE : case JT_COPY : case JT_ADMIN : break ; case JT_BACKUP : default : if ( jcr -> no_client_used ( ) || jcr -> wasVirtualFull ) { break ; } num = jcr -> client -> getNumConcurrentJobs ( ) ; jcr -> client -> setNumConcurrentJobs ( num + val ) ; break ; } }
Procedure to update the client->NumConcurrentJobs
Procedure to update the client - > NumConcurrentJobs
/* Fall through wanted */