Changeset 2315

Show
Ignore:
Timestamp:
06/29/07 14:22:07
Author:
pvanhoof
Message:

Bugfix for previous commit

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libtinymail-camel/tny-camel-store-account.c

    r2314 r2315  
    12951295        str = strchr (url_string, '/'); 
    12961296 
    1297         if (str) 
     1297        if (str && strlen (str) > 1) { 
     1298                str++; 
    12981299                str = strchr (str, '/'); 
    1299         if (str) 
     1300        } else  
     1301                str = NULL; 
     1302 
     1303        if (str && strlen (str) > 1) { 
     1304                str++; 
    13001305                str = strchr (str, '/'); 
    1301  
    1302         if (str) 
     1306        } else 
     1307                str = NULL; 
     1308 
     1309        if (str && strlen (str) > 1) { 
     1310                str++; 
    13031311                iter = camel_store_get_folder_info (store, str, flags, &ex); 
    1304         else { 
     1312        } else { 
    13051313                g_set_error (err, TNY_FOLDER_STORE_ERROR,  
    13061314                        TNY_FOLDER_STORE_ERROR_GET_FOLDERS,