summary refs log tree commit diff
path: root/src/libnm-platform/nmp-netns.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-01-13 22:30:39 +0100
committerMichael Biebl <biebl@debian.org>2022-01-13 22:30:39 +0100
commit88c227d90a6b7b388c5c85d72802a0ca8f05ed5c (patch)
tree71f32df6617802270e8a78574bd8e1637dc532f4 /src/libnm-platform/nmp-netns.c
parente74c568b07b50b97873fb4ee1d776dedefbd54d6 (diff)
New upstream version 1.34.0 upstream/1.34.0
Diffstat (limited to 'src/libnm-platform/nmp-netns.c')
-rw-r--r--src/libnm-platform/nmp-netns.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/libnm-platform/nmp-netns.c b/src/libnm-platform/nmp-netns.c
index 2b28a4cd..d06c3e11 100644
--- a/src/libnm-platform/nmp-netns.c
+++ b/src/libnm-platform/nmp-netns.c
@@ -43,22 +43,20 @@ __ns_types_to_str(int ns_types, int ns_types_already_set, char *buf, gsize len)
     const char *b = buf;
     char        bb[200];
 
-    nm_utils_strbuf_append_c(&buf, &len, '[');
+    nm_strbuf_append_c(&buf, &len, '[');
     if (ns_types & ~ns_types_already_set) {
-        nm_utils_strbuf_append_str(
-            &buf,
-            &len,
-            _clone_ns_to_str(ns_types & ~ns_types_already_set, bb, sizeof(bb)));
+        nm_strbuf_append_str(&buf,
+                             &len,
+                             _clone_ns_to_str(ns_types & ~ns_types_already_set, bb, sizeof(bb)));
     }
     if (ns_types & ns_types_already_set) {
         if (ns_types & ~ns_types_already_set)
-            nm_utils_strbuf_append_c(&buf, &len, '/');
-        nm_utils_strbuf_append_str(
-            &buf,
-            &len,
-            _clone_ns_to_str(ns_types & ns_types_already_set, bb, sizeof(bb)));
+            nm_strbuf_append_c(&buf, &len, '/');
+        nm_strbuf_append_str(&buf,
+                             &len,
+                             _clone_ns_to_str(ns_types & ns_types_already_set, bb, sizeof(bb)));
     }
-    nm_utils_strbuf_append_c(&buf, &len, ']');
+    nm_strbuf_append_c(&buf, &len, ']');
     return b;
 }
 #define _ns_types_to_str(ns_types, ns_types_already_set, buf) \