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

« back to all changes in this revision

Viewing changes to src/server/req_movejob.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:
95
95
#include "attribute.h"
96
96
#include "credential.h"
97
97
#include "batch_request.h"
98
 
#include "job.h"
 
98
#include "pbs_job.h"
99
99
#include "log.h"
100
100
#include "pbs_error.h"
101
101
#include "queue.h"
103
103
/* Global Data Items: */
104
104
 
105
105
extern char *msg_unkjobid;
106
 
extern char *msg_badstate;
107
106
extern char *msg_manager;
108
107
extern char *msg_movejob;
109
108
extern int  pbs_errno;
139
138
    {
140
139
#ifndef NDEBUG
141
140
    sprintf(log_buffer, "%s %d",
142
 
            msg_badstate,
 
141
            pbse_to_txt(PBSE_BADSTATE),
143
142
            jobp->ji_qs.ji_state);
144
143
 
145
144
    strcat(log_buffer, id);
249
248
    {
250
249
#ifndef NDEBUG
251
250
    sprintf(log_buffer, "%s %d",
252
 
            msg_badstate,
 
251
            pbse_to_txt(PBSE_BADSTATE),
253
252
            pjob->ji_qs.ji_state);
254
253
 
255
254
    strcat(log_buffer, id);