Differences From:
File
src/login.c
part of check-in
[86cbb69af2]
- Only record the first 16 bits of the 32-bit IP address as part of the
anonymous login cookie.
by
drh on
2009-12-29 00:11:21.
[view]
To:
File
src/login.c
part of check-in
[5d16ca43f1]
- Fix a bug in the IP address truncator. Ticket a09798ba9e.
by
drh on
2009-12-29 20:52:27.
Also file
src/login.c
part of check-in
[76bc05d739]
- merge with trunk
by
btheado on
2009-12-30 20:33:59.
[view]
@@ -94,9 +94,9 @@
j++;
if( j==2 ) break;
}
}
- return mprintf("%.*s", j, zIP);
+ return mprintf("%.*s", i, zIP);
}
/*