[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r12216: Fix crash in plugin (boost::
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r12216: Fix crash in plugin (boost::format) and some other bogus log_debug calls. |
Date: |
Fri, 04 Jun 2010 08:29:59 +0200 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 12216
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Fri 2010-06-04 08:29:59 +0200
message:
Fix crash in plugin (boost::format) and some other bogus log_debug calls.
modified:
plugin/npapi/plugin.cpp
=== modified file 'plugin/npapi/plugin.cpp'
--- a/plugin/npapi/plugin.cpp 2010-06-02 20:44:00 +0000
+++ b/plugin/npapi/plugin.cpp 2010-06-04 06:29:59 +0000
@@ -143,7 +143,6 @@
NPError
NS_PluginInitialize()
{
- // gnash::log_debug(__PRETTY_FUNCTION__);
if ( gnash::plugInitialized ) {
gnash::log_debug("NS_PluginInitialize called, but ignored (we already
initialized)");
@@ -186,7 +185,7 @@
*/
char* opts = std::getenv("GNASH_OPTIONS");
if (opts != NULL) {
- gnash::log_debug("GNASH_OPTIONS : ", opts);
+ gnash::log_debug("GNASH_OPTIONS: %s", opts);
// Should the plugin wait for gdb to be attached?
if ( strstr(opts, "waitforgdb") ) {
@@ -250,7 +249,6 @@
void
NS_PluginShutdown()
{
- // gnash::log_debug(__PRETTY_FUNCTION__);
#if 0
if (!plugInitialized) {
gnash::log_debug("Plugin already shut down");
@@ -269,7 +267,6 @@
NPError
NS_PluginGetValue(NPPVariable aVariable, void *aValue)
{
- // gnash::log_debug(__PRETTY_FUNCTION__);
NPError err = NPERR_NO_ERROR;
switch (aVariable) {
@@ -324,7 +321,6 @@
nsPluginInstanceBase *
NS_NewPluginInstance(nsPluginCreateData * aCreateDataStruct)
{
- // gnash::log_debug(__PRETTY_FUNCTION__);
if(!aCreateDataStruct) {
return NULL;
}
@@ -643,7 +639,6 @@
bool
nsPluginInstance::handlePlayerRequests(GIOChannel* iochan, GIOCondition cond)
{
- gnash::log_debug(__PRETTY_FUNCTION__);
if ( cond & G_IO_HUP ) {
gnash::log_debug("Player control socket hang up");
@@ -718,7 +713,6 @@
bool
nsPluginInstance::processPlayerRequest(gchar* buf, gsize linelen)
{
- gnash::log_debug(__PRETTY_FUNCTION__);
if ( linelen < 4 ) {
if (buf) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r12216: Fix crash in plugin (boost::format) and some other bogus log_debug calls.,
Benjamin Wolsey <=