From: <svn...@op...> - 2009-02-25 15:21:28
|
Author: bellmich Date: Wed Feb 25 16:21:22 2009 New Revision: 950 URL: http://libsyncml.opensync.org/changeset/950 Log: if there is already a transport error then following errors can be ignored Modified: trunk/libsyncml/data_sync_api/data_sync_callbacks.c Modified: trunk/libsyncml/data_sync_api/data_sync_callbacks.c ============================================================================== --- trunk/libsyncml/data_sync_api/data_sync_callbacks.c Wed Feb 25 16:19:24 2009 (r949) +++ trunk/libsyncml/data_sync_api/data_sync_callbacks.c Wed Feb 25 16:21:22 2009 (r950) @@ -138,6 +138,11 @@ &locerror); if (link) smlLinkDeref(link); + /* error is already tracked. + * So locerror can be ignored. + */ + if (locerror) + smlErrorDeref(&locerror); /* It is not a good idea to wait for the * disconnect here. First this is an * asynchronous software so it is always |