projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13f9c86
)
really quick patch on connman asking for logins... agent->msg is the
author
Carsten Haitzler
<raster@rasterman.com>
Sun, 7 Oct 2012 09:59:07 +0000
(09:59 +0000)
committer
Carsten Haitzler
<raster@rasterman.com>
Sun, 7 Oct 2012 09:59:07 +0000
(09:59 +0000)
same as msg in the cb. this stops an instant segv but doesnt fully fix
it. it's at least marked/commented to be looked at.
SVN revision: 77556
src/modules/connman/agent.c
patch
|
blob
|
history
diff --git
a/src/modules/connman/agent.c
b/src/modules/connman/agent.c
index
41df911
..
dadff7c
100644
(file)
--- a/
src/modules/connman/agent.c
+++ b/
src/modules/connman/agent.c
@@
-413,6
+413,9
@@
_agent_request_input(E_DBus_Object *obj, DBusMessage *msg)
agent = e_dbus_object_data_get(obj);
/* Discard previous requests */
+ // if msg is the current agent msg? eek.
+ if (agent->msg == msg) return NULL;
+
if (agent->msg)
dbus_message_unref(agent->msg);
agent->msg = dbus_message_ref(msg);