mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
[#189] Whitespace fixes in opened files
This commit is contained in:
@@ -167,7 +167,7 @@ int execute_statements (result, packet, lease, client_state,
|
||||
(&rc, packet,
|
||||
lease, client_state, in_options,
|
||||
out_options, scope, r->data.ie.expr));
|
||||
|
||||
|
||||
#if defined (DEBUG_EXPRESSIONS)
|
||||
log_debug ("exec: if %s", (status
|
||||
? (rc ? "true" : "false")
|
||||
@@ -219,7 +219,7 @@ int execute_statements (result, packet, lease, client_state,
|
||||
}
|
||||
|
||||
log_debug("execute_statement argv[0] = %s", argv[0]);
|
||||
|
||||
|
||||
for (i = 1, expr = r->data.execute.arglist; expr;
|
||||
expr = expr->data.arg.next, i++) {
|
||||
memset (&ds, 0, sizeof(ds));
|
||||
@@ -509,7 +509,7 @@ int execute_statements (result, packet, lease, client_state,
|
||||
(&ds, packet,
|
||||
lease, client_state, in_options,
|
||||
out_options, scope, r->data.log.expr, MDL));
|
||||
|
||||
|
||||
#if defined (DEBUG_EXPRESSIONS)
|
||||
log_debug ("exec: log");
|
||||
#endif
|
||||
@@ -936,7 +936,7 @@ void write_statements (file, statements, indent)
|
||||
token_indent_data_string
|
||||
(file, col, indent + 8, "", "",
|
||||
&r -> data.option -> data);
|
||||
|
||||
|
||||
fprintf (file, ";"); /* XXX */
|
||||
break;
|
||||
|
||||
@@ -952,7 +952,7 @@ void write_statements (file, statements, indent)
|
||||
(void) token_print_indent (file, col, indent + 4,
|
||||
" ", "", ";");
|
||||
break;
|
||||
|
||||
|
||||
case unset_statement:
|
||||
indent_spaces (file, indent);
|
||||
fprintf (file, "unset ");
|
||||
@@ -1021,7 +1021,7 @@ void write_statements (file, statements, indent)
|
||||
"is not defined).", MDL);
|
||||
#endif /* ENABLE_EXECUTE */
|
||||
break;
|
||||
|
||||
|
||||
case vendor_opt_statement:
|
||||
indent_spaces (file, indent);
|
||||
fprintf (file, "parse-vendor-option;");
|
||||
|
Reference in New Issue
Block a user