diff options
author | Cy Schubert <cy@FreeBSD.org> | 2003-10-31 00:36:13 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2003-10-31 00:36:13 +0000 |
commit | d862770dd0fc60ac3dec2fa280ae51ce5e1ebd3b (patch) | |
tree | ce411ecb800d04085cd26c604229643c88c305b0 /net/ntp/files | |
parent | 62569a7783debcad9e3eeb02820822ab07d77df5 (diff) |
Notes
Diffstat (limited to 'net/ntp/files')
-rw-r--r-- | net/ntp/files/patch-aa | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/ntp/files/patch-aa b/net/ntp/files/patch-aa index 2b418488de44..df54ce2e249b 100644 --- a/net/ntp/files/patch-aa +++ b/net/ntp/files/patch-aa @@ -27,12 +27,13 @@ cp++; while (cp < reqend && *cp != ',') { *tp++ = *cp++; -@@ -1870,7 +1870,7 @@ +@@ -1904,8 +1904,8 @@ cp++; - while (tp > buf) { - *tp-- = '\0'; + *tp-- = '\0'; + while (tp >= buf) { - if (!isspace((int)(*tp))) + if (!isspace((unsigned char)(*tp))) break; + *tp-- = '\0'; } reqpt = cp; |