Hi drh,
do you want only two digits?
+static char *ipPrefix(const char *zIP){
+ int i, j;
+ for(i=j=0; zIP[i]; i++){
+ if( zIP[i]=='.' ){
+ j++;
+ if( j==2 ) break;
+ }
+ }
+ return mprintf("%.*s", j, zIP);
+}
Is
mprintf("%.*s", i, zIP);
what you want to achieve?
Regards
Heinrich
Am 29.12.2009 um 14:00 schrieb D. Richard Hipp:
On Dec 29, 2009, at 4:03 AM, Chris Schaller wrote:
Have there been any changes on fossil-scm.org? Today it's working
fine again. No problems with anonymous login. Server restart?
http://www.fossil-scm.org/fossil/vinfo/86cbb69af2
- Chris
On Mon, Dec 28, 2009 at 10:30 PM, Chris Schaller <[email protected]
wrote:
On Mon, Dec 28, 2009 at 7:32 PM, Clark Christensen <[email protected]
wrote:
Any chance you're browsing in-private? Both IE8 and Firefox 3.5
have support for "in-private" browsing. Or do you have cookies
disabled? (or both?)
Nope, regular browsing like a few days ago... Cookies enabled, of
course.
Was just checking from home and everything's fine (no proxies at
least). Is there any logging I can try to get down to the issue?
- Chris
----- Original Message ----
From: Chris Schaller <[email protected]>
To: [email protected]
Sent: Mon, December 28, 2009 8:17:30 AM
Subject: Re: [fossil-users] Anonymous login broken?
Some more clarification:
As I said, the anonymous login used to work until 2009-12-23 (both
from home without proxy and from work with proxy).
I fiddled around with anonymous login. As I said, after successful
anonymous login I am redirected to Fossil's Home Page (not logged
in).
If I click on 'Leaves' I get the message
Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.
So I click on above link which directs me to the login page stating
that I am indeed logged in as anonymous (You are currently logged
in
as anonymous).
The same applies to Tickets, either...
- Chris
On Mon, Dec 28, 2009 at 5:06 PM, Chris Schaller <[email protected]
wrote:
On Mon, Dec 28, 2009 at 2:34 PM, D. Richard Hipp <[email protected]>
wrote:
On Dec 28, 2009, at 8:06 AM, Michael Richter wrote:
Works fine for me.
Probably Chris is behind a firewall that is constantly changing
his IP
address. An anonymous login is only valid for a single IP
address.
So if the initial login is from one IP and then the IP address
shifts,
the login is invalidated.
I'm behind a firewall; internet access through proxy server farm,
but
my outside IP address (proxy server address) didn't change (same
before and after logon).
- Chris
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-
users
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users