Changeset 3585

Show
Ignore:
Timestamp:
08/22/08 18:04:22 (3 months ago)
Author:
bellmich
Message:

disconnect cleanly even if the second connection of an OMA DS client was not used

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/syncml/src/syncml_common.c

    r3582 r3585  
    199199         
    200200        if ((env->state1 >= SML_DATA_SYNC_EVENT_DISCONNECT && 
    201              (!env->dsObject2 || env->state2 >= SML_DATA_SYNC_EVENT_DISCONNECT) 
     201             (!env->dsObject2 || 
     202              env->state2 >= SML_DATA_SYNC_EVENT_DISCONNECT || 
     203              env->state2 < SML_DATA_SYNC_EVENT_CONNECT) 
    202204            ) || 
    203205            env->state1 < SML_DATA_SYNC_EVENT_CONNECT)