Ignore:
Timestamp:
Jun 12, 2009, 5:09:59 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

ldb init fix (by diver) in 3.3 branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/lib/ldb/common/ldb.c

    r206 r263  
    117117        ldb_connect_fn fn;
    118118
     119//  on OS2 we have a semicolon at the second character if w/o backend called
     120#ifndef __OS2__
    119121        if (strchr(url, ':') != NULL) {
     122#else
     123        if (url[1] != ':'  &&  strchr(url, ':') != NULL) {
     124#endif
    120125                backend = talloc_strndup(ldb, url, strchr(url, ':')-url);
    121126        } else {
Note: See TracChangeset for help on using the changeset viewer.