diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-04 19:31:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-04 19:31:12 +0000 |
commit | 951e7f7220700caf006252bb33e657350546ecc9 (patch) | |
tree | 5b6aae228d1ad71f164276367d05609a00c4d3a4 /sbin/isakmpd/if.c | |
parent | 30fc5c7ac6ab1ad281eba61de637bc714773d1a1 (diff) |
spacing; ok cloder
Diffstat (limited to 'sbin/isakmpd/if.c')
-rw-r--r-- | sbin/isakmpd/if.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/isakmpd/if.c b/sbin/isakmpd/if.c index b9cf927478a..a54b60a4c77 100644 --- a/sbin/isakmpd/if.c +++ b/sbin/isakmpd/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.22 2004/06/14 09:55:41 ho Exp $ */ +/* $OpenBSD: if.c,v 1.23 2005/04/04 19:31:11 deraadt Exp $ */ /* $EOM: if.c,v 1.12 1999/10/01 13:45:20 niklas Exp $ */ /* @@ -77,7 +77,7 @@ siocgifconf(struct ifconf *ifcp) /* * Allocate a larger buffer each time around the loop and get * the network interfaces configurations into it. - */ + */ new_buf = realloc(buf, len); if (!new_buf) { log_error("siocgifconf: realloc (%p, %d) failed", buf, @@ -96,7 +96,7 @@ siocgifconf(struct ifconf *ifcp) * If there is place for another ifreq we can be sure that the * buffer was big enough, otherwise double the size and try * again. - */ + */ if (len - ifcp->ifc_len >= sizeof(struct ifreq)) break; len *= 2; |