From: Ted Lemon Date: Wed, 6 Oct 1999 22:43:14 +0000 (+0000) Subject: Need explicit newlines in character constants on Digital Unix. X-Git-Tag: BCTEL_SPECIAL_19991124~135 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9fbbc8c81432fe5dd1bdb460f701823cb4d3875;p=thirdparty%2Fdhcp.git Need explicit newlines in character constants on Digital Unix. --- diff --git a/dhcpctl/test.c b/dhcpctl/test.c index 4dd0316b2..f2465ec11 100644 --- a/dhcpctl/test.c +++ b/dhcpctl/test.c @@ -60,8 +60,8 @@ int main (argc, argv) exit (1); } - status = dhcpctl_set_string_value (group_handle, " -option domain-name \"foo.org\"; + status = dhcpctl_set_string_value (group_handle, "\n\ +option domain-name \"foo.org\";\n\ option domain-name-servers 10.0.0.1, 10.0.0.2;", "statements"); if (status != ISC_R_SUCCESS) { @@ -168,8 +168,8 @@ option domain-name-servers 10.0.0.1, 10.0.0.2;", exit (1); } - status = dhcpctl_set_string_value (host_handle, " -option host-name \"bar\"; + status = dhcpctl_set_string_value (host_handle, "\n\ +option host-name \"bar\";\n\ option smtp-server 10.0.0.1;", "statements"); if (status != ISC_R_SUCCESS) {