Changeset 167

Show
Ignore:
Timestamp:
05/21/06 14:59:37 (3 years ago)
Author:
abauer
Message:

Ignore answers to a disconnect command

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/dev-branch/libsyncml/transports/obex_client.c

    r156 r167  
    117117                                        break; 
    118118                                case OBEX_CMD_DISCONNECT:; 
    119                                         smlTransportReceiveEvent(env->tsp, NULL, SML_TRANSPORT_EVENT_DISCONNECT_DONE, NULL, NULL); 
     119                                        //smlTransportReceiveEvent(env->tsp, NULL, SML_TRANSPORT_EVENT_DISCONNECT_DONE, NULL, NULL); 
    120120                                        break; 
    121121                                case OBEX_CMD_GET:; 
     
    492492     
    493493        /* Lets see if it was successfull */ 
    494         while (env->busy) { 
     494        /*while (env->busy) { 
    495495                if (OBEX_HandleInput(env->obexhandle, 20) < 0) { 
    496496                        smlErrorSet(&error, SML_ERROR_GENERIC, "Unable to get answer"); 
    497497                        goto error; 
    498498                } 
    499         } 
     499        }*/ 
     500        smlTransportReceiveEvent(env->tsp, NULL, SML_TRANSPORT_EVENT_DISCONNECT_DONE, NULL, NULL); 
    500501         
    501502        smlTrace(TRACE_EXIT, "%s", __func__);