mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
style(9)
This commit is contained in:
parent
79393893e8
commit
d33da23f4c
1 changed files with 3 additions and 4 deletions
|
|
@ -251,7 +251,7 @@ lml_find (struct lm_list *lmh, const char *f)
|
|||
TAILQ_FOREACH(lm, lmh, lm_link)
|
||||
if (strcmp(f, lm->f) == 0)
|
||||
return (lm->t);
|
||||
return NULL;
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
/* Given an executable name, return a pointer to the translation list or
|
||||
|
|
@ -298,10 +298,9 @@ static const char *
|
|||
quickbasename (const char *path)
|
||||
{
|
||||
const char *p = path;
|
||||
for (; *path; path++)
|
||||
{
|
||||
for (; *path; path++) {
|
||||
if (*path == '/')
|
||||
p = path+1;
|
||||
}
|
||||
return p;
|
||||
return (p);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue