int i;
int iters = 1;
- char *ret;
+ const char *ret = NULL;
/* Needed to initialize character set */
- lp_load("/dev/null", True, False, False);
+ lp_load("/dev/null", True, False, False, True);
if (argc < 3) {
fprintf(stderr, "usage: %s STRING1 STRING2 [ITERS]\n"
ret = strstr_m(argv[1], argv[2]);
}
+ if (ret == NULL)
+ ret = "(null)";
+
printf("%s\n", ret);
return 0;