projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update readme
[c11tester.git]
/
bugmessage.h
diff --git
a/bugmessage.h
b/bugmessage.h
index bd7d0b68e891eb57004fb4d59a9d344505c33cd8..eda457e069d008e7303e1a1d168d06a105ef31db 100644
(file)
--- a/
bugmessage.h
+++ b/
bugmessage.h
@@
-10,7
+10,7
@@
struct bug_message {
msg = (char *)snapshot_malloc(strlen(fmt) + strlen(str));
sprintf(msg, fmt, str);
}
msg = (char *)snapshot_malloc(strlen(fmt) + strlen(str));
sprintf(msg, fmt, str);
}
- ~bug_message() { if (msg) snapshot_free(msg);
}
+ ~bug_message() { if (msg) snapshot_free(msg);}
char *msg;
void print() { model_print("%s", msg); }
char *msg;
void print() { model_print("%s", msg); }
@@
-18,4
+18,4
@@
struct bug_message {
SNAPSHOTALLOC
};
SNAPSHOTALLOC
};
-#endif /* __BUGMESSAGE_H__ */
+#endif /* __BUGMESSAGE_H__ */