IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36548


Ignore:
Timestamp:
Feb 25, 2014, 1:17:32 PM (12 years ago)
Author:
eugene
Message:

fix syncfile issues

Location:
branches/eam_branches/ipp-20140206/Ohana/src/relphot/src
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140206/Ohana/src/relphot/src/launch_region_hosts.c

    r36545 r36548  
    44int strextend (char *input, char *format,...) {
    55
    6   char tmpfmt[1024], tmpline[1024];
     6  char tmpextra[1024], tmpline[1024];
    77  va_list argp;
    88
    99  va_start (argp, format);
    10  
    11   snprintf (tmpfmt, 1024, "%%s %s", format);
    12   vsnprintf (tmpline, 1024, tmpfmt, argp);
     10  vsnprintf (tmpextra, 1024, format, argp);
     11  snprintf (tmpline, 1024, "%s %s", input, tmpextra);
    1312  strcpy (input, tmpline);
    1413
Note: See TracChangeset for help on using the changeset viewer.