r15779@tombo: nickm | 2008-01-01 23:43:24 -0500

Use reference-counting to avoid allocating a zillion little addr_policy_t objects. (This is an old patch that had been sitting on my hard drive for a while.)


svn:r13017
This commit is contained in:
Nick Mathewson
2008-01-02 04:43:44 +00:00
parent 99be6dae1e
commit 11fff225fa
9 changed files with 350 additions and 207 deletions
+1 -1
View File
@@ -2382,7 +2382,7 @@ parse_port_range(const char *port, uint16_t *port_min_out,
}
/** Parse a string <b>s</b> in the format of
* (IP(/mask|/mask-bits)?|*)(:*|port(-maxport)?)?, setting the various
* (IP(/mask|/mask-bits)?|*)(:(*|port(-maxport))?)?, setting the various
* *out pointers as appropriate. Return 0 on success, -1 on failure.
*/
int