mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
.
This commit is contained in:
parent
dee6e7e3c1
commit
2a3dd53952
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ void ClusterGeoIpService::threadMain()
|
||||||
else break;
|
else break;
|
||||||
}
|
}
|
||||||
for(long i=0;i<n;++i) {
|
for(long i=0;i<n;++i) {
|
||||||
if (lineptr > sizeof(linebuf))
|
if (lineptr > (long)sizeof(linebuf))
|
||||||
lineptr = 0;
|
lineptr = 0;
|
||||||
if ((buf[i] == '\n')||(buf[i] == '\r')) {
|
if ((buf[i] == '\n')||(buf[i] == '\r')) {
|
||||||
linebuf[lineptr] = (char)0;
|
linebuf[lineptr] = (char)0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue