Skip to content

Commit

Permalink
Default maxdepth to -1 not 99
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarlslund committed Nov 24, 2023
1 parent 9057df0 commit 1b81a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/analyze/webservicefuncs.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func analysisfuncs(ws *webservice) {
middlequerytext := vars["middlequery"]
endquerytext := vars["endquery"]

maxdepth := 99
maxdepth := -1
if maxdepthval, err := strconv.Atoi(vars["maxdepth"]); err == nil {
maxdepth = maxdepthval
}
Expand Down

0 comments on commit 1b81a94

Please sign in to comment.