Changeset 6552 in ntrip for trunk/rtcm3torinex


Ignore:
Timestamp:
Jan 19, 2015, 11:22:54 AM (6 years ago)
Author:
stoecker
Message:

fix compiler warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rtcm3torinex/lib/rtcm3torinex.c

    r6538 r6552  
    19101910  t2 = gmtime(&t);
    19111911  if(u) *u = user;
    1912   return 1+snprintf(buffer, buffersize,
    1913   rinex3 ?
    1914   "RTCM3TORINEX %-7.7s%-20.20s%04d%02d%02d %02d%02d%02d UTC "
    1915   "PGM / RUN BY / DATE" :
    1916   "RTCM3TORINEX %-7.7s%-20.20s%04d-%02d-%02d %02d:%02d    "
    1917   "PGM / RUN BY / DATE", revisionstr, user, 1900+t2->tm_year,
    1918   t2->tm_mon+1, t2->tm_mday, t2->tm_hour, t2->tm_min, t2->tm_sec);
     1912  if(rinex3)
     1913  {
     1914    return 1+snprintf(buffer, buffersize,
     1915    "RTCM3TORINEX %-7.7s%-20.20s%04d%02d%02d %02d%02d%02d UTC "
     1916    "PGM / RUN BY / DATE", revisionstr, user, 1900+t2->tm_year,
     1917    t2->tm_mon+1, t2->tm_mday, t2->tm_hour, t2->tm_min, t2->tm_sec);
     1918  }
     1919  else
     1920  {
     1921    return 1+snprintf(buffer, buffersize,
     1922    "RTCM3TORINEX %-7.7s%-20.20s%04d-%02d-%02d %02d:%02d    "
     1923    "PGM / RUN BY / DATE", revisionstr, user, 1900+t2->tm_year,
     1924    t2->tm_mon+1, t2->tm_mday, t2->tm_hour, t2->tm_min);
     1925  }
    19191926}
    19201927
Note: See TracChangeset for help on using the changeset viewer.