Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-11-05 09:09:15 +0300
committerChristopher Faylor <me@cgf.cx>2001-11-05 09:09:15 +0300
commit9c510edc61bef580f66590d0932a64873307e1c5 (patch)
treedca774d4fabdf48d9098f7691beb1178c12aab0b /winsup/cygwin/net.cc
parenta9ae96dde4c22f69c06f2c7b0ace0b0ad07ee0e5 (diff)
Eliminate excess whitespace.
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r--winsup/cygwin/net.cc32
1 files changed, 16 insertions, 16 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc
index 9e2984f42..445a35327 100644
--- a/winsup/cygwin/net.cc
+++ b/winsup/cygwin/net.cc
@@ -1573,10 +1573,10 @@ get_2k_ifconf (struct ifconf *ifc, int what)
{
/* Iterate over all known interfaces */
for (if_cnt = 0; if_cnt < ift->dwNumEntries; ++if_cnt)
- {
+ {
*sub = '0';
/* Iterate over all configured IP-addresses */
- for (ip_cnt = 0; ip_cnt < ipt->dwNumEntries; ++ip_cnt)
+ for (ip_cnt = 0; ip_cnt < ipt->dwNumEntries; ++ip_cnt)
{
/* Does the IP address belong to the interface? */
if (ipt->table[ip_cnt].dwIndex == ift->table[if_cnt].dwIndex)
@@ -1997,29 +1997,29 @@ get_95_ifconf (struct ifconf *ifc, int what)
strcat (netname, ifname);
if (RegOpenKeyEx (HKEY_LOCAL_MACHINE, netname,
- 0, KEY_READ, &subkey) != ERROR_SUCCESS)
+ 0, KEY_READ, &subkey) != ERROR_SUCCESS)
{
- RegCloseKey (ifkey);
- --ifr;
- continue;
+ RegCloseKey (ifkey);
+ --ifr;
+ continue;
}
if (RegQueryValueEx (subkey, "AdapterName", 0,
- NULL, (unsigned char *) adapter,
- (size = sizeof adapter, &size)) == ERROR_SUCCESS
- && strcasematch (adapter, "MS$PPP"))
+ NULL, (unsigned char *) adapter,
+ (size = sizeof adapter, &size)) == ERROR_SUCCESS
+ && strcasematch (adapter, "MS$PPP"))
{
- ++*ppp;
- strcpy (ifr->ifr_name, "ppp");
- strcat (ifr->ifr_name, ppp);
+ ++*ppp;
+ strcpy (ifr->ifr_name, "ppp");
+ strcat (ifr->ifr_name, ppp);
}
else
{
- ++*eth;
- strcpy (ifr->ifr_name, "eth");
- strcat (ifr->ifr_name, eth);
+ ++*eth;
+ strcpy (ifr->ifr_name, "eth");
+ strcat (ifr->ifr_name, eth);
}
-
+
RegCloseKey (subkey);
RegCloseKey (ifkey);