diff options
author | Dan Winship <danw@gnome.org> | 2014-04-08 12:02:28 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2014-06-20 11:28:22 -0400 |
commit | 2d3b8f735731abf6dcbad1714e126c2ce8fc418a (patch) | |
tree | 4a65adb6a5e661d5adebb24c23cf5f01b283274d /src/devices/wifi/tests/test-wifi-ap-utils.c | |
parent | a4b689096e1a9f85bb69073e0241d005025fd7b1 (diff) | |
download | NetworkManager-2d3b8f735731abf6dcbad1714e126c2ce8fc418a.tar.gz |
all: don't include error->code in log messagesdanw/wip/gerror
GError codes are only unique per domain, so logging the code without
also indicating the domain is not helpful. And anyway, if the error
messages are not distinctive enough to tell the whole story then we
should fix the error messages.
Diffstat (limited to 'src/devices/wifi/tests/test-wifi-ap-utils.c')
-rw-r--r-- | src/devices/wifi/tests/test-wifi-ap-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/wifi/tests/test-wifi-ap-utils.c b/src/devices/wifi/tests/test-wifi-ap-utils.c index 36d58f2a8a..7fecb2efde 100644 --- a/src/devices/wifi/tests/test-wifi-ap-utils.c +++ b/src/devices/wifi/tests/test-wifi-ap-utils.c @@ -38,7 +38,7 @@ if (expected) { \ if (!success) { \ g_assert (error != NULL); \ - g_warning ("Failed to complete connection: (%d) %s", error->code, error->message); \ + g_warning ("Failed to complete connection: %s", error->message); \ } \ g_assert (success == TRUE); \ g_assert (error == NULL); \ |