+2007-08-27 Gisle Vanem <giva@bgnett.no>
+
+ * mswindows.c (run_with_timeout): Ensure that the correct
+ conversion specification is used for the return result of
+ the GetLastError function.
+ * getopt.c: Fix missing (but, accidentally, legal) comment
+ delimiter after licensing text.
+ * recur.c (retrieve_tree): Inserted missing cast for strip_auth.
+ * openssl.c (ssl_init): const-ified the meth local variable.
+
2007-08-27 Micah Cowan <micah@cowan.name>
* wget.h: Added macro replacement for ngettext, for environs
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
\f
/* This tells Alpha OSF/1 not to define a getopt prototype in <stdio.h>.
Ditto for AIX 3.2 and <stdlib.h>. */
&thread_arg, 0, &thread_id);
if (!thread_hnd)
{
- DEBUGP (("CreateThread() failed; [0x%x]\n", GetLastError ()));
+ DEBUGP (("CreateThread() failed; [%#lx]\n",
+ (unsigned long) GetLastError ()));
goto blocking_fallback;
}
bool
ssl_init ()
{
- SSL_METHOD *meth;
+ const SSL_METHOD *meth;
if (ssl_ctx)
/* The SSL has already been initialized. */
struct urlpos *child = children;
struct url *url_parsed = url_parsed = url_parse (url, NULL);
char *referer_url = url;
- bool strip_auth = url_parsed->user;
+ bool strip_auth = (bool)url_parsed->user;
assert (url_parsed != NULL);
/* Strip auth info if present */