Introduction
Introduction Statistics Contact Development Disclaimer Help
no need to assign buf = NULL - saait - the most boring static page generator
git clone git://git.codemadness.org/saait
Log
Files
Refs
README
LICENSE
---
commit 8d6a1aebbe14e7340d537d9b7db20a1d7c2872bf
parent 68b7e11cb8d6eee9bfe01fa6fa8728d0d946c63d
Author: Hiltjo Posthuma <[email protected]>
Date: Fri, 4 Aug 2017 14:50:27 +0200
no need to assign buf = NULL
Diffstat:
M saait.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/saait.c b/saait.c
@@ -77,7 +77,7 @@ char *
readfile(const char *file)
{
FILE *fp;
- char *buf = NULL;
+ char *buf;
size_t n, len = 0, size = 0;
fp = efopen(file, "rb");
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.