Commit 702d05ce authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Remove some whitespace.

It was difficult to write, there's no reason it should easy to read.
parent aa35b531
......@@ -98,14 +98,11 @@ add_xroute(int kind, unsigned char prefix[16], unsigned char plen,
if(numxroutes >= maxxroutes) {
struct xroute *new_xroutes;
int n = maxxroutes < 1 ? 8 : 2 * maxxroutes;
new_xroutes = xroutes == NULL ?
malloc(n * sizeof(struct xroute)) :
realloc(xroutes, n * sizeof(struct xroute));
if(new_xroutes == NULL)
return -1;
maxxroutes = n;
xroutes = new_xroutes;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment