comparison src/pst2ldif.cpp @ 160:252ad66d3d6e stable-0-6-32

fix ppc64 compile error
author Carl Byington <carl@five-ten-sg.com>
date Sat, 14 Mar 2009 17:45:48 -0700
parents cda7c812ec01
children 6954d315aaa8
comparison
equal deleted inserted replaced
159:3508c24d3cd2 160:252ad66d3d6e
172 item->contact->surname, 172 item->contact->surname,
173 item->contact->suffix); 173 item->contact->suffix);
174 if (cn[0] != 0) { 174 if (cn[0] != 0) {
175 // have a valid cn 175 // have a valid cn
176 pst_string ucn; 176 pst_string ucn;
177 ucn.str = (char*)unique_string(cn); 177 ucn.str = (char*)unique_string(cn);
178 ucn.is_utf8 = 1; // all the components are already utf8
178 179
179 print_ldif_dn("dn", ucn, ldap_base); 180 print_ldif_dn("dn", ucn, ldap_base);
180 print_ldif_single("cn", ucn); 181 print_ldif_single("cn", ucn);
181 if (item->contact->first_name.str) { 182 if (item->contact->first_name.str) {
182 print_ldif_two("givenName", 183 print_ldif_two("givenName",