diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2004-12-17 13:26:53 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2004-12-17 13:26:53 +0000 |
commit | e7b8f8265513d82983e9d6895d329b211e258e08 (patch) | |
tree | 35856c9b51d2216c62fbb2aa26c0732fd8c538db | |
parent | 7fce2d642c62ab29d75c2602e490a1fd555eef80 (diff) | |
download | gpsd-e7b8f8265513d82983e9d6895d329b211e258e08.tar.gz |
Cosmetic cleanups.
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | gpsd.xml | 2 | ||||
-rw-r--r-- | nmea_parse.c | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -1,3 +1,4 @@ Remco Treffkorn <remco@rvt.com> Derrick J. Brashear <shadow@dementia.org> +Russ Nelson <nelson@crynwyr.com> Eric S. Raymond <esr@thyrsus.com> @@ -309,7 +309,7 @@ direct-connect to the serial device has been removed.</para> position information from the GPS. It accepts an -h option and optional argument as for <application>gps</application>. Additionally, it accepts -rv (reverse video) and -nc (needle color) -options. The misfeature of previous version that allowed it to +options. The misfeature of previous versions that allowed it to direct-connect to the serial device has been removed.</para> </refsect2> diff --git a/nmea_parse.c b/nmea_parse.c index 8dc03531..8a18c00a 100644 --- a/nmea_parse.c +++ b/nmea_parse.c @@ -125,7 +125,7 @@ static void merge_ddmmyy(char *ddmmyy, struct gps_data_t *out) out->utc[4] = '-'; strncpy(out->utc+5, ddmmyy + 2, 2); /* copy month */ out->utc[7] = '-'; - strncpy(out->utc + 8, ddmmyy, 2); /* copy date */ + strncpy(out->utc+8, ddmmyy, 2); /* copy date */ out->utc[10] = 'T'; } |