]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
P2P: Coding style cleanup
authorJouni Malinen <j@w1.fi>
Fri, 15 Jul 2011 11:41:01 +0000 (14:41 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 15 Jul 2011 11:41:01 +0000 (14:41 +0300)
wpa_supplicant/dbus/dbus_new_handlers_p2p.c

index 1e3c8327326a58e183682aca7d360dd4022330ad..7ae1173723bae9dcd64515524e6c1849d216c39b 100644 (file)
@@ -484,25 +484,24 @@ DBusMessage * wpas_dbus_handler_p2p_connect(DBusMessage *message,
        } else {
                switch (new_pin) {
                case -2:
-                       err_msg = "connect failed due to"
-                                       " channel unavailability.";
+                       err_msg = "connect failed due to channel "
+                               "unavailability.";
                        iface = WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNAVAILABLE;
                        break;
 
                case -3:
-                       err_msg = "connect failed due to"
-                                       " unsupported channel.";
+                       err_msg = "connect failed due to unsupported channel.";
                        iface = WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNSUPPORTED;
                        break;
 
                default:
-                       err_msg = "connect failed due to"
-                                       " unspecified error.";
+                       err_msg = "connect failed due to unspecified error.";
                        iface = WPAS_DBUS_ERROR_CONNECT_UNSPECIFIED_ERROR;
                        break;
                }
+
                /*
-                * TODO::
+                * TODO:
                 * Do we need specialized errors corresponding to above
                 * error conditions as against just returning a different
                 * error message?