s3:torture: use lp_load_global() in the strstr test
authorMichael Adam <obnox@samba.org>
Wed, 27 Jul 2011 15:20:05 +0000 (17:20 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 28 Jul 2011 09:17:34 +0000 (11:17 +0200)
source3/torture/t_strstr.c

index 49180b219f7e5ddaf9dee3f12a9d3be763abad2d..69b88187d6d8f277d805b41926134398979d7846 100644 (file)
@@ -14,7 +14,7 @@ int main(int argc, char *argv[])
        const char *ret = NULL;
 
        /* Needed to initialize character set */
-       lp_load("/dev/null", True, False, False, True);
+       lp_load_global("/dev/null");
 
        if (argc < 3) {
                fprintf(stderr, "usage: %s STRING1 STRING2 [ITERS]\n"