Changes to ticket a09798ba9e
By rwilson on 2009-12-29 18:16:42. See also: artifact content, and ticket history
- Appended to comment:
rwilson added on 2009-12-29 18:16:42:
i think you are correct. it should be i. as is, this code will always return the first two chars of the ip address.static char *ipPrefix(const char *zIP){ int i, j; for(i=j=0; zIP[bad-link: i]i; i++){ if( zIP[bad-link: i]i=='.' ){ j++; if( j==2 ) break; } } return mprintf("%.*s", j, zIP); }
- Change resolution to "Open"