Commit Graph

23899 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
db149370e1 dns: switch to rk types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24893 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:18:55 +00:00
Love Hörnquist Åstrand
ac0502a0fe dns: switch to rk types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:18:45 +00:00
Love Hörnquist Åstrand
58b16c9bf1 dns: switch to rk types, prefix types with rk_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:18:35 +00:00
Love Hörnquist Åstrand
5cb8acdf6d dns: switch to rk types, prefix types with rk_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:18:25 +00:00
Love Hörnquist Åstrand
fb2acb56f3 prefix dns_ symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24889 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:18:15 +00:00
Love Hörnquist Åstrand
2516af31b6 less unprefixed structs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24888 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:18:05 +00:00
Love Hörnquist Åstrand
38fb5e3b12 prefix dns_ symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:17:55 +00:00
Love Hörnquist Åstrand
b234c0eeba C++ protection
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24886 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:17:45 +00:00
Love Hörnquist Åstrand
7220ad7930 remove compat glue, fix prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:17:35 +00:00
Love Hörnquist Åstrand
b8fb6b35ae dns_ symbols are no more.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:17:12 +00:00
Love Hörnquist Åstrand
bd5229d126 prefix dns_ symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:17:02 +00:00
Love Hörnquist Åstrand
fad2decced Check for dns_search and dns.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24882 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:16:50 +00:00
Love Hörnquist Åstrand
a61934489a Use dns_ API when available. Om MacOS this avoids repeted lookups
since it uses the mDNSResponder to cache the replies.

Remove support debugging using the old res_ API.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:16:40 +00:00
Love Hörnquist Åstrand
7f437c326a prefix names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:16:29 +00:00
Love Hörnquist Åstrand
355a7f54e5 prefix names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:16:19 +00:00
Love Hörnquist Åstrand
b52f9b6fd9 prefix names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24878 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:16:06 +00:00
Love Hörnquist Åstrand
65adbffd77 handle error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:34:54 +00:00
Love Hörnquist Åstrand
f77d976831 ignore the error from the free function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:34:44 +00:00
Love Hörnquist Åstrand
c2ef08565c catch bad privs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:34:34 +00:00
Love Hörnquist Åstrand
8a1dc13633 abort on memory error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24874 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:34:24 +00:00
Love Hörnquist Åstrand
9eedf9e4f3 don't set unused variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24873 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:34:06 +00:00
Love Hörnquist Åstrand
181299ffb9 don't set unused variables, make it more obvious that the switchstatement return.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:33:57 +00:00
Love Hörnquist Åstrand
f86b5b7320 don't set unused variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24871 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:33:47 +00:00
Love Hörnquist Åstrand
8f8f65ffe9 don't set unused variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24870 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:33:35 +00:00
Love Hörnquist Åstrand
ebc8d73af1 don't set unused variables, remove undefined behavior:
"Pass-by-value argument in function is undefined."

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24869 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:33:26 +00:00
Love Hörnquist Åstrand
76b62ca2a9 don't set unused variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24868 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:33:04 +00:00
Love Hörnquist Åstrand
fea9aa5894 don't set unused variables, move cc to propper scope.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24867 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:32:42 +00:00
Love Hörnquist Åstrand
a5e6d1338b catch error and, while here, destroy credential caches on error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24866 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:32:31 +00:00
Love Hörnquist Åstrand
412155fa6e Remove strange code around getarg(), just do like everyone else does it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24865 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:32:10 +00:00
Love Hörnquist Åstrand
10916974df Remove unsed variable kerberos_error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:32:00 +00:00
Love Hörnquist Åstrand
eb0549ea43 make vno set to a valid, so that in case master disconnects before it sent us any entries, don't print stack value.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:50 +00:00
Love Hörnquist Åstrand
a4b0d218d9 make db NULL to make it not pass undefined value to hdb_print_entry().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24862 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:41 +00:00
Love Hörnquist Åstrand
471260363f catch errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:31 +00:00
Love Hörnquist Åstrand
393b5824ce catch error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:21 +00:00
Love Hörnquist Åstrand
68853055fa don't touch unused arguments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:11 +00:00
Love Hörnquist Åstrand
02c9b49155 don't touch unused arguments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24858 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:01 +00:00
Love Hörnquist Åstrand
3dd1e7a385 don't touch unused arguments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:52 +00:00
Love Hörnquist Åstrand
ac2c3d7f52 move convert_func to deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:42 +00:00
Love Hörnquist Åstrand
68b959c395 move convert_func to deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24855 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:32 +00:00
Love Hörnquist Åstrand
33ca6f1a26 dont increment p since its no longer used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24854 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:19 +00:00
Love Hörnquist Åstrand
269ddbd09e dont increment p since its no longer used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24853 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:09 +00:00
Love Hörnquist Åstrand
c2c1e95ccf dont increment nhost since its no longer used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24852 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:58 +00:00
Love Hörnquist Åstrand
d17aa3e8fe drop temp variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24851 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:49 +00:00
Love Hörnquist Åstrand
f1a66a04b2 assign array instead of p++
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24850 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:39 +00:00
Love Hörnquist Åstrand
6264d0b528 catch error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24849 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:29 +00:00
Love Hörnquist Åstrand
28230ca61a catch error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24848 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:20 +00:00
Love Hörnquist Åstrand
022c117434 catch error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:10 +00:00
Love Hörnquist Åstrand
ef088ee696 error never read again, just drop it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24846 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:59 +00:00
Love Hörnquist Åstrand
5684eb4435 running strsep_copy again, yield same result
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:50 +00:00
Love Hörnquist Åstrand
0922b9168e client_realm is never read
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:40 +00:00