27 lines
1000 B
Diff
27 lines
1000 B
Diff
From a9feff3d774eaa1cc1b59189e8f344c01e69f888 Mon Sep 17 00:00:00 2001
|
|
From: Tom Gundersen <teg@jklm.no>
|
|
Date: Wed, 20 Aug 2014 15:56:14 +0200
|
|
Subject: [PATCH] resolved: write resolv.conf search - switch arguments
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Found by Lukáš Nykrýn.
|
|
---
|
|
src/resolve/resolved-manager.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c
|
|
index 04ee204074..56baf8730d 100644
|
|
--- a/src/resolve/resolved-manager.c
|
|
+++ b/src/resolve/resolved-manager.c
|
|
@@ -699,7 +699,7 @@ static void write_resolv_conf_server(DnsServer *s, FILE *f, unsigned *count) {
|
|
}
|
|
|
|
static void write_resolv_conf_search(const char *domain, FILE *f,
|
|
- unsigned *length, unsigned *count) {
|
|
+ unsigned *count, unsigned *length) {
|
|
assert(domain);
|
|
assert(f);
|
|
assert(length);
|