/[winpt]/trunk/Src/wptProxySettingsDlg.cpp
ViewVC logotype

Diff of /trunk/Src/wptProxySettingsDlg.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 45 by werner, Thu Oct 27 15:25:13 2005 UTC revision 46 by werner, Fri Oct 28 12:57:05 2005 UTC
# Line 17  Line 17 
17   * along with WinPT; if not, write to the Free Software Foundation,   * along with WinPT; if not, write to the Free Software Foundation,
18   * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA   * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19   */   */
20    
21  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
22  #include <config.h>  #include <config.h>
23  #endif  #endif
# Line 41  check_number (HWND dlg, int id) Line 42  check_number (HWND dlg, int id)
42    
43      GetDlgItemText (dlg, id, buf, 31);      GetDlgItemText (dlg, id, buf, 31);
44      for (i=0; i < strlen (buf); i++) {      for (i=0; i < strlen (buf); i++) {
45          if (!isdigit (buf[i]))          if (!isdigit ((unsigned int)buf[i]))
46              return -1;              return -1;
47      }      }
48      return 0;      return 0;
# Line 111  keyserver_proxy_dlg_proc (HWND dlg, UINT Line 112  keyserver_proxy_dlg_proc (HWND dlg, UINT
112  {  {
113      const char *proxy = NULL, *user=NULL, *pass = NULL;      const char *proxy = NULL, *user=NULL, *pass = NULL;
114      int port = 0, auth = 0;      int port = 0, auth = 0;
     int rc = 0;  
115            
116      switch (msg) {      switch (msg) {
117      case WM_INITDIALOG:      case WM_INITDIALOG:

Legend:
Removed from v.45  
changed lines
  Added in v.46

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26