Mercurial > hg > xemacs-beta
comparison src/eldap.c @ 292:6cb5e14cd98e r21-0b44
Import from CVS: tag r21-0b44
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:37:15 +0200 |
parents | 57709be46d1b |
children | 70ad99077275 |
comparison
equal
deleted
inserted
replaced
291:7aa74ac42bd2 | 292:6cb5e14cd98e |
---|---|
503 entry = Qnil; | 503 entry = Qnil; |
504 for (a= ldap_first_attribute (ld, e, &ptr); | 504 for (a= ldap_first_attribute (ld, e, &ptr); |
505 a != NULL; | 505 a != NULL; |
506 a= ldap_next_attribute (ld, e, ptr) ) | 506 a= ldap_next_attribute (ld, e, ptr) ) |
507 { | 507 { |
508 list = Fcons (build_string (a), Qnil); | 508 list = Fcons (build_ext_string (a, FORMAT_OS), Qnil); |
509 unwind.vals = ldap_get_values (ld, e, a); | 509 unwind.vals = ldap_get_values (ld, e, a); |
510 if (unwind.vals != NULL) | 510 if (unwind.vals != NULL) |
511 { | 511 { |
512 for (i = 0; unwind.vals[i] != NULL; i++) | 512 for (i = 0; unwind.vals[i] != NULL; i++) |
513 { | 513 { |
514 list = Fcons (build_string (unwind.vals[i]), | 514 list = Fcons (build_ext_string (unwind.vals[i], FORMAT_OS), |
515 list); | 515 list); |
516 } | 516 } |
517 } | 517 } |
518 entry = Fcons (Fnreverse (list), | 518 entry = Fcons (Fnreverse (list), |
519 entry); | 519 entry); |