projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update kismet to 2008-05-R1 (#3628)
[openwrt/svn-archive/archive.git]
/
net
/
kismet
/
patches
/
100-fix-atan.patch
1
--- a/gpsd.cc
2
+++ b/gpsd.cc
3
@@ -478,7 +478,7 @@
4
if (ty == 0) {
5
dir = 0.0;
6
} else {
7
- dir = atan(tx / ty);
8
+ dir = atan2(tx,ty);
9
}
10
11
if (!finite(dir))