Overview
SHA1 Hash: | 97789f0a928d11a3d78f30e243e1690c295e1617 |
---|---|
Date: | 2009-12-29 22:10:29 |
User: | rwilson |
Comment: | clean up a few compiler warnings |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/main.c from [09a4698442] to [f14e3f8203].
@@ -735,11 +735,11 @@ void cmd_test_http(void){ login_set_capabilities("s"); cmd_http(); } - +#ifndef __MINGW32__ #if !defined(__DARWIN__) && !defined(__APPLE__) /* ** Search for an executable on the PATH environment variable. ** Return true (1) if found and false (0) if not found. */ @@ -757,10 +757,11 @@ if( bExists==0 ) return 1; zPath += i; } return 0; } +#endif #endif /* ** COMMAND: server ** COMMAND: ui
Modified src/winhttp.c from [f308305b21] to [4bf909b551].
@@ -136,11 +136,11 @@ ** Start a listening socket and process incoming HTTP requests on ** that socket. */ void win32_http_server(int mnPort, int mxPort, char *zBrowser){ WSADATA wd; - SOCKET s; + SOCKET s = INVALID_SOCKET; SOCKADDR_IN addr; int idCnt = 0; int iPort = mnPort; if( WSAStartup(MAKEWORD(1,1), &wd) ){