Browse Source

nuke some debugging log calls

r13513
master
Joshua Kwan 19 years ago
parent
commit
9e12e60624
  1. 4
      debian/changelog
  2. 9
      netcfg-common.c

4
debian/changelog

@ -7,8 +7,10 @@ netcfg (0.63) UNRELEASED; urgency=low
- Corrected innaccuracy in the description of ad-hoc networks.
* Matt Kraai
- Do not overwrite the resolv.conf created by the DHCP client.
* Joshua Kwan
- Remove debugging code that was not intended for 0.62.
-- Per Olofsson <pelle@dsv.su.se> Mon, 12 Apr 2004 18:24:40 +0200
-- Joshua Kwan <joshk@triplehelix.org> Tue, 13 Apr 2004 17:08:02 -0700
netcfg (0.62) unstable; urgency=low

9
netcfg-common.c

@ -1269,8 +1269,6 @@ automatic:
if (!empty_str(wconf.essid))
{
/* Done! */
di_log(DI_LOG_LEVEL_DEBUG, "Associated with AP '%s'", wconf.essid);
/* Save for later */
debconf_set(client, "netcfg/wireless_essid", wconf.essid);
debconf_progress_set(client, MAX_SECS);
@ -1296,8 +1294,6 @@ automatic:
if (strlen(tf) <= IW_ESSID_MAX_SIZE) /* looks ok, let's use it */
user_essid = tf;
di_debug("user_essid seems to be '%s' right now", user_essid);
while (!user_essid || empty_str(user_essid) ||
strlen(user_essid) > IW_ESSID_MAX_SIZE)
{
@ -1329,7 +1325,6 @@ automatic:
if (empty_str(client->value))
goto automatic;
di_debug("Looks like our essid is '%s'", client->value);
free(user_essid);
user_essid = strdup(client->value);
}
@ -1384,7 +1379,6 @@ int netcfg_wireless_set_wep (struct debconfclient * client, char* iface)
if (empty_str(rv))
{
di_log(DI_LOG_LEVEL_DEBUG, "unsetting WEP key for device %s", iface);
unset_wep_key (iface);
if (wepkey != NULL)
@ -1396,9 +1390,6 @@ int netcfg_wireless_set_wep (struct debconfclient * client, char* iface)
return 0;
}
di_log(DI_LOG_LEVEL_DEBUG, "proceeding to set WEP key for device %s (%s)",
iface, rv);
while ((keylen = iw_in_key (rv, buf)) == -1)
{
debconf_subst(client, "netcfg/invalid_wep", "wepkey", rv);

Loading…
Cancel
Save