projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad03f26
)
fix doh! in test for double parsing
author
Havoc Pennington
<hp@redhat.com>
Tue, 11 Jan 2005 22:35:58 +0000
(22:35 +0000)
committer
Havoc Pennington
<hp@redhat.com>
Tue, 11 Jan 2005 22:35:58 +0000
(22:35 +0000)
dbus/dbus-sysdeps.c
patch
|
blob
|
history
diff --git
a/dbus/dbus-sysdeps.c
b/dbus/dbus-sysdeps.c
index
be9d8e9
..
c1ff46c
100644
(file)
--- a/
dbus/dbus-sysdeps.c
+++ b/
dbus/dbus-sysdeps.c
@@
-3528,9
+3528,9
@@
_dbus_sysdeps_test (void)
_dbus_warn ("Failed to parse double");
exit (1);
}
- if (ABS (0xff - val)
<
1e-6)
+ if (ABS (0xff - val)
>
1e-6)
{
- _dbus_warn ("Failed to parse 0xff correctly, got: %f", val);
+ _dbus_warn ("Failed to parse 0xff correctly, got: %f
\n
", val);
exit (1);
}
if (pos != 4)