summaryrefslogtreecommitdiff
path: root/lib/libmytinfo/addstr.c
diff options
context:
space:
mode:
authorRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-30 05:51:47 +0000
committerRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-30 05:51:47 +0000
commit6c06b4e2aa2a28d1f0bbd29ecdce35aaaf600ce8 (patch)
treee1331adb5d216f2b3fa6baa6491752348d2e5f10 /lib/libmytinfo/addstr.c
parenta2f0036ac41fe46dd47d6339982567f19437ade9 (diff)
Notes
Diffstat (limited to 'lib/libmytinfo/addstr.c')
-rw-r--r--lib/libmytinfo/addstr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libmytinfo/addstr.c b/lib/libmytinfo/addstr.c
index 50fb4111f9b4..d3d74448e139 100644
--- a/lib/libmytinfo/addstr.c
+++ b/lib/libmytinfo/addstr.c
@@ -18,13 +18,13 @@ static char const SCCSid[] = "@(#) mytinfo addstr.c 3.2 92/02/01 public domain,
/*
* I think this routine could be improved, as it is now it searches a
* linked list of strbufs for one that has enough room left for the
- * string. The only thing else I can think of doing would be to
+ * string. The only thing else I can think of doing would be to
* expand a buffer by realloc and then fix the string pointers if it
* moves.
*/
static struct strbuf *strbuf = NULL;
-
+
struct strbuf *
_endstr() {
register struct strbuf *p;
@@ -81,7 +81,7 @@ TERMINAL *p; {
q = p->strbuf;
while(q != NULL) {
- p->strbuf = q->next;
+ p->strbuf = q->next;
free((anyptr) q);
q = p->strbuf;
}