diff options
-rw-r--r-- | src/j2.c | 2 | ||||
-rw-r--r-- | src/j2.h | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -78,7 +78,7 @@ int j2_cat(char* path) { varstart = j2_strstr(line); if(!varstart) { - printf(line); + printf("%s", line); continue; } varend = j2_readvar(varstart, buf, J2_MAXBUF); @@ -20,8 +20,8 @@ #include <string.h> #include "common.h" -#define J2_MAXLINE 4096 -#define J2_MAXBUF 1024 +#define J2_MAXLINE 1024 * 8 +#define J2_MAXBUF 1024 * 2 char* j2_readvar(char*, char*, int); |