Ignore:
Timestamp:
Jun 4, 2010, 3:11:43 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: merged changes from 3.3

Location:
trunk/server/source3/lib/ldb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/lib/ldb/common/ldb.c

    r414 r454  
    117117        ldb_connect_fn fn;
    118118
     119#ifndef __OS2__ //  on OS2 we have a semicolon at the second character if w/o backend called
    119120        if (strchr(url, ':') != NULL) {
     121#else
     122        if (url[1] != ':'  &&  strchr(url, ':') != NULL) {
     123#endif
    120124                backend = talloc_strndup(ldb, url, strchr(url, ':')-url);
    121125        } else {
  • trunk/server/source3/lib/ldb/ldb_tdb/ldb_tdb.c

    r414 r454  
    10121012
    10131013        /* parse the url */
     1014#ifndef __OS2__ //  on OS2 we have a semicolon at the second character if w/o backend called
    10141015        if (strchr(url, ':')) {
     1016#else
     1017        if (url[1] != ':'  &&  strchr(url, ':') != NULL) {
     1018#endif
    10151019                if (strncmp(url, "tdb://", 6) != 0) {
    10161020                        ldb_debug(ldb, LDB_DEBUG_ERROR, "Invalid tdb URL '%s'", url);
Note: See TracChangeset for help on using the changeset viewer.