diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2012-05-16 20:42:26 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-05-16 20:42:26 -0400 |
commit | ddc22ff56acef0690abfd22ee640cda4eb143933 (patch) | |
tree | bcbccbbab554a3e2915abfad9b5fe91a6604ff08 /timebase.c | |
parent | 61ab6a6636762115689a190b4a9fe3386008d24c (diff) | |
download | gpsd-ddc22ff56acef0690abfd22ee640cda4eb143933.tar.gz |
Cleanup motivated by new cppcheck with more tests. All regression tests pass.
Diffstat (limited to 'timebase.c')
-rw-r--r-- | timebase.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -130,8 +130,8 @@ void gpsd_set_century(struct gps_device_t *session) { unsigned char *cp; char *end; - int year; if (strstr((char *)session->packet.outbuffer, "Date:") != NULL) { + int year; cp = session->packet.outbuffer + 5; while (isspace(*cp)) --cp; |