projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e013cf9
)
Fix g_test_trap_reached_timeout
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 26 Dec 2013 04:50:37 +0000
(23:50 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 1 Jan 2014 22:59:21 +0000
(17:59 -0500)
The function was returning the opposite of what the
documentation says.
glib/gtestutils.c
patch
|
blob
|
history
diff --git
a/glib/gtestutils.c
b/glib/gtestutils.c
index feaafa312ad6cfab4fdf6a4da1f8c5309913f241..3e079c18b50a819077fc9203315907dcdcfaa72c 100644
(file)
--- a/
glib/gtestutils.c
+++ b/
glib/gtestutils.c
@@
-2930,7
+2930,7
@@
g_test_trap_has_passed (void)
gboolean
g_test_trap_reached_timeout (void)
{
- return test_trap_last_status
!
= G_TEST_STATUS_TIMED_OUT;
+ return test_trap_last_status
=
= G_TEST_STATUS_TIMED_OUT;
}
void