commit 92eb29f9eda3c1ed1adf52b2bb78a84ea37498f7
parent ec12d3a3b2623baf4cd457fe9122ae081f2cd783
Author: gottox@rootkit.lan <gottox@rootkit.lan>
Date: Sat, 15 Dec 2007 01:24:09 +0100
Correcting newlines; Correcting Makefile
Diffstat:
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -22,7 +22,7 @@ ${OBJ}: config.mk
cmarkdown: ${OBJ}
@echo CC -o $@
- ${CC} -o $@ ${OBJ} ${LDFLAGS}
+ @${CC} -o $@ ${OBJ} ${LDFLAGS}
clean:
@echo cleaning
diff --git a/cmarkdown.c b/cmarkdown.c
@@ -518,8 +518,6 @@ main(int argc, char *argv[]) {
eprint("Malloc failed.");
bsize = BUFFERSIZE;
buffer[0] = '\0';
-
-
p = buffer+strlen(buffer);
while((s = fread(p, sizeof(char),BUFFERSIZE, source))) {
p += s;