summaryrefslogtreecommitdiff
path: root/src/nm-act-request.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-09-28 14:50:01 +0200
committerAntonio Cardace <acardace@redhat.com>2020-09-28 16:07:52 +0200
commit740b092fda3d5f45102422f22884c88ea6c42858 (patch)
tree5a049cc10c99efb5ee39606b8b1d0893a9f46db3 /src/nm-act-request.c
parent328fb90f3e0d4e35975aff63944ac0412d7893a5 (diff)
downloadNetworkManager-ac/clang-format.tar.gz
format: replace tabs for indentation in code commentsac/clang-format
sed -i \ -e 's/^'$'\t'' \*/ */g' \ -e 's/^'$'\t\t'' \*/ */g' \ -e 's/^'$'\t\t\t'' \*/ */g' \ -e 's/^'$'\t\t\t\t'' \*/ */g' \ -e 's/^'$'\t\t\t\t\t'' \*/ */g' \ -e 's/^'$'\t\t\t\t\t\t'' \*/ */g' \ -e 's/^'$'\t\t\t\t\t\t\t'' \*/ */g' \ $(git ls-files -- '*.[hc]')
Diffstat (limited to 'src/nm-act-request.c')
-rw-r--r--src/nm-act-request.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/nm-act-request.c b/src/nm-act-request.c
index 0e428b9b36..6afae138e1 100644
--- a/src/nm-act-request.c
+++ b/src/nm-act-request.c
@@ -378,19 +378,19 @@ device_state_changed(NMActiveConnection *active,
NMActiveConnectionStateReason ac_state_reason = NM_ACTIVE_CONNECTION_STATE_REASON_UNKNOWN;
/* Decide which device state changes to handle when this active connection
- * is not the device's current request. Two cases here: (a) the AC is
- * pending and not yet active, and (b) the AC was active but the device is
- * entering DISCONNECTED state (which clears the device's current AC before
- * emitting the state change signal).
- */
+ * is not the device's current request. Two cases here: (a) the AC is
+ * pending and not yet active, and (b) the AC was active but the device is
+ * entering DISCONNECTED state (which clears the device's current AC before
+ * emitting the state change signal).
+ */
if (NM_ACTIVE_CONNECTION(nm_device_get_act_request(device)) != active) {
/* Some other request is activating; this one must be pending */
if (new_state >= NM_DEVICE_STATE_PREPARE)
return;
else if (new_state == NM_DEVICE_STATE_DISCONNECTED) {
/* This request hasn't started activating yet; the device is
- * disconnecting and cleaning up a previous activation request.
- */
+ * disconnecting and cleaning up a previous activation request.
+ */
if (cur_ac_state < NM_ACTIVE_CONNECTION_STATE_ACTIVATING)
return;