diff --git a/Contrib/Makensisw/jnetlib/connection.cpp b/Contrib/Makensisw/jnetlib/connection.cpp index 9bee6223..38d5f293 100644 --- a/Contrib/Makensisw/jnetlib/connection.cpp +++ b/Contrib/Makensisw/jnetlib/connection.cpp @@ -83,7 +83,7 @@ void JNL_Connection::connect(char *hostname, int port) else { m_state=STATE_RESOLVING; - m_saddr.sin_family=AF_INET; + m_saddr.sin_family=AF_INET; m_saddr.sin_port=htons((unsigned short)port); m_saddr.sin_addr.s_addr=inet_addr(hostname); } @@ -145,7 +145,7 @@ void JNL_Connection::run(int max_send_bytes, int max_recv_bytes, int *bytes_sent else { m_state=STATE_CONNECTING; } break; case STATE_CONNECTING: - { + { fd_set f[3]; FD_ZERO(&f[0]); FD_ZERO(&f[1]); diff --git a/Contrib/Makensisw/makensisw.cpp b/Contrib/Makensisw/makensisw.cpp index e61b5c6a..df553a42 100644 --- a/Contrib/Makensisw/makensisw.cpp +++ b/Contrib/Makensisw/makensisw.cpp @@ -194,9 +194,9 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) { { if (!g_sdata.thread) { DragAcceptFiles(g_sdata.hwnd,FALSE); - ImageList_Destroy(g_toolbar.imagelist); - ImageList_Destroy(g_toolbar.imagelistd); - ImageList_Destroy(g_toolbar.imagelisth); + ImageList_Destroy(g_toolbar.imagelist); + ImageList_Destroy(g_toolbar.imagelistd); + ImageList_Destroy(g_toolbar.imagelisth); DestroyWindow(hwndDlg); FreeLibrary(hRichEditDLL); } @@ -1099,7 +1099,7 @@ BOOL CALLBACK CompressorProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara case IDCANCEL: { EndDialog(hwndDlg, 1); - LogMessage(g_sdata.hwnd,USAGE); + LogMessage(g_sdata.hwnd,USAGE); break; } } diff --git a/Contrib/Makensisw/update.cpp b/Contrib/Makensisw/update.cpp index de708c32..a7144a34 100644 --- a/Contrib/Makensisw/update.cpp +++ b/Contrib/Makensisw/update.cpp @@ -27,10 +27,10 @@ void FinalizeUpdate() { int getProxyInfo(char *out) { DWORD v=0; - HKEY hKey; + HKEY hKey; if (RegOpenKeyEx(HKEY_CURRENT_USER,"Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings",0,KEY_READ,&hKey) == ERROR_SUCCESS) { - DWORD l = 4; - DWORD t; + DWORD l = 4; + DWORD t; if (RegQueryValueEx(hKey,"ProxyEnable",NULL,&t,(unsigned char *)&v,&l) == ERROR_SUCCESS && t == REG_DWORD) { l=8192; if (RegQueryValueEx(hKey,"ProxyServer",NULL,&t,(unsigned char *)out,&l ) != ERROR_SUCCESS || t != REG_SZ) {