Changeset 156

Show
Ignore:
Timestamp:
04/30/06 21:34:19 (3 years ago)
Author:
abauer
Message:

check if the bluetooth address is set

Files:

Legend:

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

    r127 r156  
    344344        } else if (env->type == SML_OBEX_TYPE_BLUETOOTH) { 
    345345#ifdef ENABLE_BLUETOOTH 
     346                if (!env->path) { 
     347                        smlErrorSet(&error, SML_ERROR_GENERIC, "No bluetooth address given"); 
     348                        goto error; 
     349                } 
     350                 
    346351                smlTrace(TRACE_INTERNAL, "connecting to bluetooth device %s channel %i", env->path, env->port); 
    347352