Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 6b8fcfe2d99cd7d9ba255b6d4d6c0f14 > files > 3

iaxclient-2.1-0.beta3.2mdv2010.1.src.rpm

--- iaxclient-2.1beta3/lib/libiax2/src/iax2-parser.c	2008-04-07 09:05:41.000000000 -0700
+++ iaxclient-2.1beta3/lib/libiax2/src/iax2-parser.c.new	2008-12-27 20:20:01.000000000 -0800
@@ -56,7 +56,7 @@
 
 static void internaloutput(const char *str)
 {
-	printf(str);
+	printf("%s", str);
 }
 
 static void internalerror(const char *str)
--- iaxclient-2.1beta3/simpleclient/iaxcomm/main.cc	2008-04-07 09:05:34.000000000 -0700
+++ iaxclient-2.1beta3/simpleclient/iaxcomm/main.cc.new	2008-12-27 20:37:00.000000000 -0800
@@ -170,7 +170,7 @@
     // Call initialize now, as the frame constructor might read config values
     // and update settings (such as preferred codec).
     if(iaxc_initialize(nCalls)) {
-        wxLogError(_("Couldn't Initialize IAX Client "));
+        wxLogError("%s", _("Couldn't Initialize IAX Client "));
     }
 
     // Create an instance of the main frame.
--- iaxclient-2.1beta3/simpleclient/iaxcomm/directory.cc	2008-04-07 09:05:34.000000000 -0700
+++ iaxclient-2.1beta3/simpleclient/iaxcomm/directory.cc.new	2008-12-27 20:39:04.000000000 -0800
@@ -73,7 +73,7 @@
 DirectoryDialog::DirectoryDialog( wxWindow* parent )
 {
     if ( !wxXmlResource::Get()->LoadDialog(this, parent, wxT("Directory")) ) {
-      wxLogFatalError(_("Can't load Directory dialog"));
+      wxLogFatalError("%s", _("Can't load Directory dialog"));
     }
 
     //----Reach in for our controls-----------------------------------------------------
--- iaxclient-2.1beta3/simpleclient/iaxcomm/frame.cc	2008-04-07 09:05:34.000000000 -0700
+++ iaxclient-2.1beta3/simpleclient/iaxcomm/frame.cc.new	2008-12-27 20:46:31.000000000 -0800
@@ -147,7 +147,7 @@
     // in case code to moves to having an invisible frame as the top level window.
 
     if ( !wxXmlResource::Get()->LoadFrame(this, parent, _T("MyFrame")) ) {
-	wxLogFatalError(_("Can't load MyFrame frame"));
+	wxLogFatalError("%s", _("Can't load MyFrame frame"));
     }
 
     //----Set the icon------------------------------------------------------------------
@@ -290,7 +290,7 @@
         aPanel = wxXmlResource::Get()->LoadPanel(parent, wxT("default"));
 
     if(aPanel == NULL)
-        wxLogError(_("Can't Load Panel in frame.cc"));
+        wxLogError("%s", _("Can't Load Panel in frame.cc"));
 
     //----Reach in for our controls-----------------------------------------------------
     Input        = XRCCTRL(*aPanel, "Input",        wxGauge);
@@ -304,7 +304,7 @@
     Calls = new CallList(aPanel, wxGetApp().nCalls);
 
     if(Calls == NULL)
-        wxLogError(_("Can't Load CallList in frame.cc"));
+        wxLogError("%s", _("Can't Load CallList in frame.cc"));
 
     wxXmlResource::Get()->AttachUnknownControl(_T("Calls"), Calls);
 
--- iaxclient-2.1beta3/simpleclient/iaxcomm/devices.cc	2008-04-07 09:05:34.000000000 -0700
+++ iaxclient-2.1beta3/simpleclient/iaxcomm/devices.cc.new	2008-12-27 20:48:24.000000000 -0800
@@ -67,7 +67,7 @@
 DevicesDialog::DevicesDialog(wxWindow* parent)
 {    
     if ( !wxXmlResource::Get()->LoadDialog(this, parent, wxT("Devices")) ) {
-      wxLogFatalError(_("Can't load Devices dialog"));
+      wxLogFatalError("%s", _("Can't load Devices dialog"));
     }
 
     // Reach in for our controls
--- iaxclient-2.1beta3/simpleclient/iaxcomm/accounts.cc	2008-04-07 09:05:34.000000000 -0700
+++ iaxclient-2.1beta3/simpleclient/iaxcomm/accounts.cc.new	2008-12-27 20:50:04.000000000 -0800
@@ -64,7 +64,7 @@
 AccountsDialog::AccountsDialog( wxWindow* parent )
 {
     if ( !wxXmlResource::Get()->LoadDialog(this, parent, wxT("Accounts")) ) {
-      wxLogFatalError(_("Can't load Accounts dialog"));
+      wxLogFatalError("%s", _("Can't load Accounts dialog"));
     }
 
     //----Reach in for our controls-----------------------------------------------------