aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dan@ioncontrol.co>2024-12-23 01:06:41 -0600
committerDan Williams <dan@ioncontrol.co>2024-12-23 01:06:53 -0600
commit72e8ac2e8053e6c64cecd3327bd1ac7d79210fe7 (patch)
treefe01f00e0912235069b1a9c737cb0b656fa32492
parent623e786f7cce835a6c62bcbe84fd29ecbcac2a60 (diff)
port-serial: clean up whitespace formatting
Remove stray tabs. Signed-off-by: Dan Williams <dan@ioncontrol.co>
-rw-r--r--src/mm-port-serial.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mm-port-serial.c b/src/mm-port-serial.c
index 5053e8cc..0ea7a06e 100644
--- a/src/mm-port-serial.c
+++ b/src/mm-port-serial.c
@@ -724,11 +724,11 @@ port_serial_got_response (MMPortSerial *self,
if (task) {
/* Complete the command context with the appropriate result */
if (error) {
- g_task_return_error (task, g_steal_pointer (&error));
- } else {
+ g_task_return_error (task, g_steal_pointer (&error));
+ } else {
CommandContext *ctx;
- ctx = g_task_get_task_data (task);
+ ctx = g_task_get_task_data (task);
if (ctx->allow_cached)
port_serial_set_cached_reply (self, ctx->command, parsed_response);
g_task_return_pointer (task,
@@ -736,7 +736,7 @@ port_serial_got_response (MMPortSerial *self,
(GDestroyNotify) g_byte_array_unref);
}
- g_object_unref (task);
+ g_object_unref (task);
}
if (!g_queue_is_empty (self->priv->queue))