]> git.0d.be Git - empathy.git/commit
Correctly propagate Provide/Accept errors
authorWill Thompson <will.thompson@collabora.co.uk>
Tue, 9 Jun 2009 17:34:35 +0000 (18:34 +0100)
committerWill Thompson <will.thompson@collabora.co.uk>
Tue, 9 Jun 2009 17:34:35 +0000 (18:34 +0100)
commitf31d0fbeda0c03a619c2db2a84ef3181c579649b
tree0021897e7f272794bf4451886cb49bcb4080d1af
parent08fb04d03b17c44e401d89cfd0e957c41cdf3b56
Correctly propagate Provide/Accept errors

Previously, if myerr was set as well as error, myerr was cleared, but
not set to a copy of error. So then the function continued as normal,
and crashed.

Also, having checked if myerr is set, we should probably log the message
from that, rather than from the (possibly NULL) error. :)
libempathy/empathy-tp-file.c