Diff for /freem/src/fma_jobs.c between versions 1.4 and 1.5

version 1.4, 2025/04/10 01:24:38 version 1.5, 2025/04/13 04:22:43
Line 24 Line 24
  *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.   *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.
  *   *
  *   $Log$   *   $Log$
    *   Revision 1.5  2025/04/13 04:22:43  snw
    *   Fix snprintf calls
    *
  *   Revision 1.4  2025/04/10 01:24:38  snw   *   Revision 1.4  2025/04/10 01:24:38  snw
  *   Remove C++ style comments   *   Remove C++ style comments
  *   *
Line 145  void get_job_property (char *tbuf, int l Line 148  void get_job_property (char *tbuf, int l
     char tkey[512];      char tkey[512];
     int i;      int i;
   
     snprintf (tkey, 512 - 1, "^$JOB\202%ld\202%s\201\201\201", jobpid, property);      snprintf (tkey, sizeof (tkey) - 1, "^$JOB\202%ld\202%s\201\201\201", jobpid, property);
   
     ssvn (get_sym, tkey, tbuf);      ssvn (get_sym, tkey, tbuf);
           

Removed from v.1.4  
changed lines
  Added in v.1.5


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>