diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-04 21:21:50 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-05 18:16:19 +0100 |
commit | 4feae9674e99027828a41634060c167679e86063 (patch) | |
tree | d0ef2de72bc7ab3ba0b23d0129bd26473fd97ea0 /strbuf.c | |
parent | Fix most memmory errors. (diff) | |
download | calp-4feae9674e99027828a41634060c167679e86063.tar.gz calp-4feae9674e99027828a41634060c167679e86063.tar.xz |
Improve ERR.
Diffstat (limited to 'strbuf.c')
-rw-r--r-- | strbuf.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -3,8 +3,7 @@ #include <string.h> #ifdef SAFE_STR -#include <stdio.h> -#define ERR(s) fprintf(stderr, "\x1B[0;31mERR\x1b[m (strbuf %3i): %s\n", __LINE__, s) +#include "err.h" #endif INIT_F(strbuf) { |