Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix a couple typos in the change log
[vor.git]
/
file.c
diff --git
a/file.c
b/file.c
index
5ce183f
..
efd08e5
100644
(file)
--- a/
file.c
+++ b/
file.c
@@
-98,10
+98,10
@@
is_dir(char *dirname)
}
static bool
}
static bool
-is_file(char *dirname)
+is_file(char *filename)
{
struct stat buf;
{
struct stat buf;
- if(stat(dirname, &buf)) {
+ if(stat(filename, &buf)) {
return false;
}
return S_ISREG(buf.st_mode);
return false;
}
return S_ISREG(buf.st_mode);