[ekiga] fix string format
- From: Olav Vitters <ovitters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] fix string format
- Date: Wed, 28 Sep 2011 00:04:08 +0000 (UTC)
commit a291ff5a8259784ead19bbfbc3a5d9504f8e6f9d
Author: Funda Wang <fundawang gmail com>
Date: Wed Sep 28 02:03:52 2011 +0200
fix string format
lib/engine/components/opal/opal-account.cpp | 2 +-
src/gui/main_window.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-account.cpp b/lib/engine/components/opal/opal-account.cpp
index bc0f198..4326668 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -512,7 +512,7 @@ Opal::Account::publish (const Ekiga::PersonalDetails& details)
else { // ekiga knows only these three presence types
std::string s = "Warning: Unknown presence type ";
s.append (presence);
- g_warning (s.data());
+ g_warning ("%s",s.data());
}
presence_status = details.get_status ();
diff --git a/src/gui/main_window.cpp b/src/gui/main_window.cpp
index 1b1c118..4980ab4 100644
--- a/src/gui/main_window.cpp
+++ b/src/gui/main_window.cpp
@@ -1008,7 +1008,7 @@ static gboolean on_stats_refresh_cb (gpointer self)
mw->priv->current_call->get_received_video_bandwidth (),
videooutput_stats.tx_fps,
videooutput_stats.rx_fps);
- ekiga_main_window_flash_message (mw, msg);
+ ekiga_main_window_flash_message (mw, "%s", msg);
ekiga_main_window_set_call_duration (mw, mw->priv->current_call->get_duration ().c_str ());
g_free (msg);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]