Skip to content

Loading…

Error of FAIL_WITH_ERROR :) #5

Merged
merged 1 commit into from

2 participants

@xzhaoyang

"msg" is required.

@DanielWaterworth DanielWaterworth merged commit ded4387 into DanielWaterworth:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 8, 2011
  1. @xzhaoyang

    Error of FAIL_WITH_ERROR :)

    xzhaoyang committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 error.h
View
2 error.h
@@ -27,7 +27,7 @@
fprintf(stderr, "raphters: %s\n", msg)
#define FAIL_WITH_ERROR(msg) \
-fprintf(stderr, "raphters, fatal: %s\n"); \
+fprintf(stderr, "raphters, fatal: %s\n", msg); \
exit(1)
#endif
Something went wrong with that request. Please try again.