systems.c (65309e5cda5d671cbca4763b481566ce387dcf7e) systems.c (d397408818fbfa179246fb327659e3fb29ffff31)
1/*-
2 * Copyright (c) 1996 - 2001 Brian Somers <brian@Awfulhak.org>
3 * based on work by Toshiharu OHNO <tony-o@iij.ad.jp>
4 * Internet Initiative Japan, Inc (IIJ)
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 172 unchanged lines hidden (view full) ---

181static int
182DecodeCtrlCommand(char *line, char *arg)
183{
184 const char *end;
185
186 if (!strncasecmp(line, "include", 7) && issep(line[7])) {
187 end = InterpretArg(line+8, arg);
188 if (*end && *end != '#')
1/*-
2 * Copyright (c) 1996 - 2001 Brian Somers <brian@Awfulhak.org>
3 * based on work by Toshiharu OHNO <tony-o@iij.ad.jp>
4 * Internet Initiative Japan, Inc (IIJ)
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 172 unchanged lines hidden (view full) ---

181static int
182DecodeCtrlCommand(char *line, char *arg)
183{
184 const char *end;
185
186 if (!strncasecmp(line, "include", 7) && issep(line[7])) {
187 end = InterpretArg(line+8, arg);
188 if (*end && *end != '#')
189 log_Printf(LogWARN, "Usage: !include filename\n");
189 log_Printf(LogWARN, "usage: !include filename\n");
190 else
191 return CTRL_INCLUDE;
192 }
193 return CTRL_UNKNOWN;
194}
195
196/*
197 * Initialised in system_IsValid(), set in ReadSystem(),

--- 286 unchanged lines hidden ---
190 else
191 return CTRL_INCLUDE;
192 }
193 return CTRL_UNKNOWN;
194}
195
196/*
197 * Initialised in system_IsValid(), set in ReadSystem(),

--- 286 unchanged lines hidden ---