Bug 183 - Minor bug in attr_to_str
: Minor bug in attr_to_str
Status: NEW
Product: TORQUE
pbs_server
: 3.0.x
: PC Linux
: P5 normal
Assigned To: David Beer
:
:
:
  Show dependency treegraph
 
Reported: 2012-04-23 23:43 MDT by rhys.hill
Modified: 2012-04-23 23:44 MDT (History)
1 user (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description rhys.hill 2012-04-23 23:43:44 MDT
rc isn't always updated properly, this seems necessary:

Index: src/server/svr_recov.c
===================================================================
--- src/server/svr_recov.c    (revision 6023)
+++ src/server/svr_recov.c    (working copy)
@@ -465,7 +465,7 @@

         current = (resource *)GET_NEXT(current->rs_link);
         }
-      append_dynamic_string(ds, "\n");
+      rc = append_dynamic_string(ds, "\n");

       }

not a big deal, since in practice rc is always PBSE_NONE