projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8abd1cc
)
Remove an obsolete NULL check
author
Fabian Keil
<fk@fabiankeil.de>
Mon, 26 Jun 2017 12:18:06 +0000
(12:18 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Mon, 26 Jun 2017 12:18:06 +0000
(12:18 +0000)
loaders.c
patch
|
blob
|
history
diff --git
a/loaders.c
b/loaders.c
index
16529e0
..
9ec017c
100644
(file)
--- a/
loaders.c
+++ b/
loaders.c
@@
-1,4
+1,4
@@
-const char loaders_rcs[] = "$Id: loaders.c,v 1.10
7 2017/06/26 12:17:43
fabiankeil Exp $";
+const char loaders_rcs[] = "$Id: loaders.c,v 1.10
8 2017/06/26 12:17:57
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/loaders.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/loaders.c,v $
@@
-313,12
+313,6
@@
int check_file_changed(const struct file_list * current,
fs->filename = strdup_or_die(filename);
fs->lastmodified = statbuf->st_mtime;
fs->filename = strdup_or_die(filename);
fs->lastmodified = statbuf->st_mtime;
- if (fs->filename == NULL)
- {
- /* Out of memory error */
- freez (fs);
- return 1;
- }
*newfl = fs;
return 1;
}
*newfl = fs;
return 1;
}