Commit e36770c21a90e1805e88f9bda976f871b820ea44

Authored by perry.werneck@gmail.com
1 parent 61ad61e7

Removendo warnings

Showing 2 changed files with 4 additions and 3 deletions   Show diff stats
@@ -849,7 +849,7 @@ static int ssl_negotiate(H3270 *hSession) @@ -849,7 +849,7 @@ static int ssl_negotiate(H3270 *hSession)
849 trace_dsn(hSession,"SSL_connect failed: %s %s\n", 849 trace_dsn(hSession,"SSL_connect failed: %s %s\n",
850 ERR_lib_error_string(hSession->ssl_error), 850 ERR_lib_error_string(hSession->ssl_error),
851 ERR_reason_error_string(hSession->ssl_error)); 851 ERR_reason_error_string(hSession->ssl_error));
852 - popup_an_error(hSession,_( ERR_reason_error_string(hSession->ssl_error) )); 852 + popup_an_error(hSession,"%s",_( ERR_reason_error_string(hSession->ssl_error) ));
853 } 853 }
854 854
855 } 855 }
@@ -37,13 +37,14 @@ @@ -37,13 +37,14 @@
37 */ 37 */
38 38
39 #include <errno.h> 39 #include <errno.h>
  40 +#include <sys/types.h>
  41 +#include <sys/socket.h>
  42 +
40 #include <lib3270/config.h> 43 #include <lib3270/config.h>
41 #include "toggle.h" 44 #include "toggle.h"
42 #include "globals.h" 45 #include "globals.h"
43 -//#include "appres.h"  
44 46
45 #include "ansic.h" 47 #include "ansic.h"
46 -//#include "actionsc.h"  
47 #include "ctlrc.h" 48 #include "ctlrc.h"
48 #include "popupsc.h" 49 #include "popupsc.h"
49 #include "screenc.h" 50 #include "screenc.h"