aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2011-06-09 16:53:05 -0500
committerDan Williams <dcbw@redhat.com>2011-06-09 16:53:05 -0500
commit6657e45a1e7d836f8fee6610b225c59249a07c98 (patch)
tree084946669bd609ea425636425216e8491ed77178 /src
parent9f8d42a994ae60efff46611a8fb88fe55a506c7f (diff)
core: trivial whitespace cleanup
Tabs -> spaces
Diffstat (limited to 'src')
-rw-r--r--src/mm-manager.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mm-manager.c b/src/mm-manager.c
index 8e3e92e4..52c74202 100644
--- a/src/mm-manager.c
+++ b/src/mm-manager.c
@@ -938,24 +938,24 @@ handle_uevent (GUdevClient *client,
gpointer user_data)
{
MMManager *self = MM_MANAGER (user_data);
- const char *subsys;
+ const char *subsys;
- g_return_if_fail (action != NULL);
+ g_return_if_fail (action != NULL);
- /* A bit paranoid */
- subsys = g_udev_device_get_subsystem (device);
- g_return_if_fail (subsys != NULL);
+ /* A bit paranoid */
+ subsys = g_udev_device_get_subsystem (device);
+ g_return_if_fail (subsys != NULL);
- g_return_if_fail (!strcmp (subsys, "tty") || !strcmp (subsys, "net") || !strcmp (subsys, "usb"));
+ g_return_if_fail (!strcmp (subsys, "tty") || !strcmp (subsys, "net") || !strcmp (subsys, "usb"));
- /* We only care about tty/net devices when adding modem ports,
- * but for remove, also handle usb parent device remove events
- */
- if ( (!strcmp (action, "add") || !strcmp (action, "move") || !strcmp (action, "change"))
+ /* We only care about tty/net devices when adding modem ports,
+ * but for remove, also handle usb parent device remove events
+ */
+ if ( (!strcmp (action, "add") || !strcmp (action, "move") || !strcmp (action, "change"))
&& (strcmp (subsys, "usb") != 0))
- device_added (self, device);
- else if (!strcmp (action, "remove"))
- device_removed (self, device);
+ device_added (self, device);
+ else if (!strcmp (action, "remove"))
+ device_removed (self, device);
}
static void