Differences From:
File
src/cgi.c
part of check-in
[266b6127f6]
- Fix a bug that prevented the IP address of website users from being
recorded in the administator logs.
by
drh on
2009-06-20 13:06:47.
[view]
To:
File
src/cgi.c
part of check-in
[00ac7945a9]
- Disconnect the global configuration database in ~/.fossil from the
respository database in most cases. This allows multiple "sync" or
"commit" operations to be running on different repositories at the same time.
by
drh on
2009-08-13 14:27:24.
[view]
@@ -679,9 +679,9 @@
z = mprintf("%s",z);
add_param_list(z, '&');
}
- z = P("REMOTE_ADDR");
+ z = (char*)P("REMOTE_ADDR");
if( z ) g.zIpAddr = mprintf("%s", z);
len = atoi(PD("CONTENT_LENGTH", "0"));
g.zContentType = zType = P("CONTENT_TYPE");