Changeset 2465

Show
Ignore:
Timestamp:
08/17/07 17:49:40 (1 year ago)
Author:
paule
Message:

Fix bad comparisons that caused phone numbers in contacts to be set into the wrong business/home fields when converting to Opie

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/opie-sync/src/opie_format.c

    r2460 r2465  
    379379                        } 
    380380                        const char *telloc = osync_xmlfield_get_attr(in_xmlfield, "Location"); 
    381                         if ( !strcmp( telloc, "Home" ) == 0
     381                        if ( !strcmp( telloc, "Home" )
    382382                                type |= PT_HOME; 
    383                         else if ( !strcmp( telloc, "Work") == 0
     383                        else if ( !strcmp( telloc, "Work")
    384384                                type |= PT_WORK; 
    385385