Permalink
Browse files

minor fix

  • Loading branch information...
1 parent 69686eb commit 18fec4dc70a5e98ff15ed83193ebbf961837a47b @bwalex committed Jul 3, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 tc-play-api.c
View
@@ -59,10 +59,12 @@ tc_api_get_error_msg(void)
char *
tc_api_get_summary(void)
{
- if (summary_fn != NULL)
+ if (summary_fn != NULL) {
summary_fn();
+ return tc_internal_log_buffer;
+ }
- return tc_internal_log_buffer;
+ return NULL;
}
int

0 comments on commit 18fec4d

Please sign in to comment.