]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Need explicit newlines in character constants on Digital Unix.
authorTed Lemon <source@isc.org>
Wed, 6 Oct 1999 22:43:14 +0000 (22:43 +0000)
committerTed Lemon <source@isc.org>
Wed, 6 Oct 1999 22:43:14 +0000 (22:43 +0000)
dhcpctl/test.c

index 4dd0316b29736bda9094c6c9a9426669968b9894..f2465ec1108fe5283091c931df8c057567843432 100644 (file)
@@ -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) {