connection: fix indentation
authorDaniel Mack <zonque@gmail.com>
Tue, 25 Mar 2014 08:44:07 +0000 (09:44 +0100)
committerDaniel Mack <zonque@gmail.com>
Tue, 25 Mar 2014 08:44:07 +0000 (09:44 +0100)
connection.c

index 33b6cd3e5db0ef9c4e53442d6bde339d9d884ec8..06f8438394d2f401eb8b7308f0a565e9078e4f89 100644 (file)
@@ -268,7 +268,7 @@ static int kdbus_conn_payload_add(struct kdbus_conn *conn,
                                it->vec.offset = ~0ULL;
                        it->vec.size = item->vec.size;
                        ret = kdbus_pool_slice_copy(queue->slice, items,
-                                                    it, it->size);
+                                                   it, it->size);
                        if (ret < 0)
                                return ret;
                        items += KDBUS_ALIGN8(it->size);
@@ -315,7 +315,7 @@ static int kdbus_conn_payload_add(struct kdbus_conn *conn,
                        it->memfd.size = item->memfd.size;
                        it->memfd.fd = -1;
                        ret = kdbus_pool_slice_copy(queue->slice, items,
-                                                    it, it->size);
+                                                   it, it->size);
                        if (ret < 0)
                                return ret;
 
@@ -539,7 +539,7 @@ static int kdbus_conn_queue_alloc(struct kdbus_conn *conn,
 
        /* update the size */
        ret = kdbus_pool_slice_copy(queue->slice, 0, &msg_size,
-                                    sizeof(kmsg->msg.size));
+                                   sizeof(kmsg->msg.size));
        if (ret < 0)
                goto exit_pool_free;
 
@@ -573,7 +573,7 @@ static int kdbus_conn_queue_alloc(struct kdbus_conn *conn,
                it->size = KDBUS_ITEM_HEADER_SIZE +
                           (kmsg->fds_count * sizeof(int));
                ret = kdbus_pool_slice_copy(queue->slice, fds,
-                                      it, KDBUS_ITEM_HEADER_SIZE);
+                                           it, KDBUS_ITEM_HEADER_SIZE);
                if (ret < 0)
                        goto exit_pool_free;
 
@@ -589,7 +589,8 @@ static int kdbus_conn_queue_alloc(struct kdbus_conn *conn,
        /* append message metadata/credential items */
        if (meta > 0) {
                ret = kdbus_pool_slice_copy(queue->slice, meta,
-                       kmsg->meta->data, kmsg->meta->size);
+                                           kmsg->meta->data,
+                                           kmsg->meta->size);
                if (ret < 0)
                        goto exit_pool_free;
        }
@@ -1801,7 +1802,7 @@ int kdbus_cmd_conn_info(struct kdbus_conn *conn,
 
        if (conn->meta->domain == owner_conn->meta->domain) {
                ret = kdbus_pool_slice_copy(slice, pos, owner_conn->meta->data,
-                                            owner_conn->meta->size);
+                                           owner_conn->meta->size);
                if (ret < 0)
                        goto exit_free;