diff --git a/program.c b/program.c index b778bd3..96bd6b1 100644 --- a/program.c +++ b/program.c @@ -132,14 +132,15 @@ int search_string(const char* heap, const char* needle){ int j; /* For current index i, check for pattern match */ - for (j = 0; j <= D; j++){ + for (j = 0; j