~ubuntu-branches/ubuntu/precise/torque/precise-updates

« back to all changes in this revision

Viewing changes to src/server/dis_read.c

  • Committer: Bazaar Package Importer
  • Author(s): Dominique Belhachemi
  • Date: 2010-05-17 20:56:46 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20100517205646-yjsoqs5r1s9xpnu9
Tags: upstream-2.4.8+dfsg
ImportĀ upstreamĀ versionĀ 2.4.8+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
 
105
105
/* External Global Data */
106
106
 
107
 
extern char *msg_nosupport;
108
 
 
109
107
extern int       LOGLEVEL;
110
108
 
111
109
 
167
165
    return(PBSE_DISPROTO);
168
166
    }
169
167
 
170
 
  if ((request->rq_type < 0) || (request->rq_type > PBS_BATCH_Disconnect))
 
168
  if ((request->rq_type < 0) || (request->rq_type >= PBS_BATCH_CEILING))
171
169
    {
172
170
    sprintf(log_buffer, "invalid request type: %d",
173
171
            request->rq_type);
240
238
 
241
239
    case PBS_BATCH_HoldJob:
242
240
 
 
241
    case PBS_BATCH_CheckpointJob:
 
242
 
243
243
    case PBS_BATCH_ModifyJob:
244
244
 
 
245
    case PBS_BATCH_AsyModifyJob:
 
246
 
245
247
      rc = decode_DIS_Manage(sfds, request);
246
248
 
247
249
      break;
363
365
 
364
366
      /* pbs_mom services */
365
367
 
 
368
    case PBS_BATCH_ReturnFiles:
 
369
      rc = decode_DIS_ReturnFiles(sfds, request);
 
370
 
 
371
      break;
 
372
 
366
373
    case PBS_BATCH_CopyFiles:
367
374
 
368
375
    case PBS_BATCH_DelFiles:
376
383
    default:
377
384
 
378
385
      sprintf(log_buffer, "%s: %d from %s",
379
 
              msg_nosupport,
 
386
              pbse_to_txt(PBSE_NOSUP),
380
387
              request->rq_type,
381
388
              request->rq_user);
382
389