summaryrefslogtreecommitdiff
path: root/gps2udp.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-09-24 12:20:10 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-09-24 12:20:10 -0400
commit0b0002bb648c925781936c15706f26db79f6f97d (patch)
treea5baf52b420d2a8eb30e75648775ebd22ea63fe9 /gps2udp.c
parent02b4c28eec9e2823789f478701ca98427c5e6ce4 (diff)
downloadgpsd-0b0002bb648c925781936c15706f26db79f6f97d.tar.gz
Typo fixes.
Diffstat (limited to 'gps2udp.c')
-rw-r--r--gps2udp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gps2udp.c b/gps2udp.c
index c4cf04ab..9938a12f 100644
--- a/gps2udp.c
+++ b/gps2udp.c
@@ -84,7 +84,7 @@ static int send_udp (char *nmeastring, size_t ind)
int channel;
ssize_t status;
- /* if string length is unknow make a copy and compute it */
+ /* if string length is unknown make a copy and compute it */
if (ind == 0) {
/* compute message size and add 0x0a 0x0d */
for (ind=0; nmeastring [ind] != '\0'; ind ++) {
@@ -96,7 +96,7 @@ static int send_udp (char *nmeastring, size_t ind)
}
buffer = message;
} else {
- /* use directly nmeastring but change terminition */
+ /* use directly nmeastring but change termination */
buffer = nmeastring;
ind = ind-1;
}