summaryrefslogtreecommitdiff
path: root/net-dns/odsclient/files/1.03-gentoo.patch
blob: 76f93016a0108c16780f75d8a6e1b09edf697dcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/client.c
+++ b/client.c
@@ -40,7 +40,8 @@
 				ret = getret(s);
 				if(ret == 795 || ret == 796)
 				{
-					fprintf(stderr, "Updated successfully\n");
+					fprintf(stderr, "Updated %s to %s successfully\n",
+					argv[3], ipaddress);
 					mydprintf(s, "QUIT\n");				
 					close(s);				
 					exit(0);
@@ -50,7 +51,7 @@
 		
 		}	
 	}
-	fprintf(stderr, "Unable to update host\n");
+	fprintf(stderr, "Unable to update %s\n", argv[3]);
 	return 1;
 }