Changeset 3403

Show
Ignore:
Timestamp:
07/07/08 09:58:05 (2 months ago)
Author:
dgollub
Message:

Another place were handling of empty OSyncPluginConfig is required.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/opensync/client/opensync_client.c

    r3399 r3403  
    542542 
    543543        /* Enable active sinks */ 
    544         OSyncList *r = osync_plugin_config_get_ressources(config); 
     544        OSyncList *r = NULL; 
     545 
     546        if (config) 
     547                r = osync_plugin_config_get_ressources(config); 
     548 
    545549        for (; r; r = r->next) { 
    546550                OSyncPluginRessource *res = r->data;