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