Revision | 12 (tree) |
---|---|
Time | 2020-12-24 20:07:38 |
Author | mateuszviste |
relicensed from BSD 2-clause to MIT
@@ -1,6 +1,6 @@ | ||
1 | 1 | /* |
2 | 2 | * gopherjoker, part of the Observable Gopherspace Universe Project |
3 | - * Copyright (C) 2019-2020 Mateusz Viste | |
3 | + * Copyright (C) 2019-2021 Mateusz Viste | |
4 | 4 | * |
5 | 5 | * 2020-01-13: added recent history so joker won't revisit places too often |
6 | 6 | * 2020-01-13: variety of minor fixes and casts to shut clang warnings |
@@ -10,26 +10,25 @@ | ||
10 | 10 | * 2019-02-19: countfile contains 3 values: total, active and pending servers |
11 | 11 | * 2019-02-18: first public release |
12 | 12 | * |
13 | - * Redistribution and use in source and binary forms, with or without | |
14 | - * modification, are permitted provided that the following conditions are met: | |
15 | - * 1. Redistributions of source code must retain the above copyright notice, | |
16 | - * this list of conditions and the following disclaimer. | |
13 | + * This software is made available under the terms of the MIT License: | |
17 | 14 | * |
18 | - * 2. Redistributions in binary form must reproduce the above copyright | |
19 | - * notice, this list of conditions and the following disclaimer in the | |
20 | - * documentati.on and/or other materials provided with the distribution. | |
15 | + * Permission is hereby granted, free of charge, to any person obtaining a | |
16 | + * copy of this software and associated documentation files (the "Software"), | |
17 | + * to deal in the Software without restriction, including without limitation | |
18 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
19 | + * and/or sell copies of the Software, and to permit persons to whom the | |
20 | + * Software is furnished to do so, subject to the following conditions: | |
21 | 21 | * |
22 | - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | |
23 | - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
24 | - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
25 | - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE | |
26 | - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |
27 | - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | |
28 | - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | |
29 | - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | |
30 | - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |
31 | - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
32 | - * POSSIBILITY OF SUCH DAMAGE. | |
22 | + * The above copyright notice and this permission notice shall be included in | |
23 | + * all copies or substantial portions of the Software. | |
24 | + * | |
25 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
26 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
27 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
28 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
29 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
30 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
31 | + * DEALINGS IN THE SOFTWARE. | |
33 | 32 | */ |
34 | 33 | |
35 | 34 | #include <arpa/inet.h> /* inet_pton() */ |