Commit 8b4e047e05ed0f7d83b37ec25e4fdeb734157477

Stefan Sperling 2020-11-15T12:08:45

fix gotweb build; should have been part of 8fa913ec

diff --git a/gotweb/gotweb.c b/gotweb/gotweb.c
index 6bf2683..170666b 100644
--- a/gotweb/gotweb.c
+++ b/gotweb/gotweb.c
@@ -3730,7 +3730,7 @@ gw_get_header(struct gw_trans *gw_trans, struct gw_header *header, int limit)
 	}
 
 	error = got_repo_map_path(&in_repo_path, gw_trans->repo,
-	    gw_trans->repo_path, 1);
+	    gw_trans->repo_path);
 	if (error)
 		goto done;
 
@@ -3970,7 +3970,7 @@ gw_output_file_blame(struct gw_trans *gw_trans)
 		goto done;
 	}
 
-	error = got_repo_map_path(&in_repo_path, gw_trans->repo, path, 1);
+	error = got_repo_map_path(&in_repo_path, gw_trans->repo, path);
 	if (error)
 		goto done;
 
@@ -4076,7 +4076,7 @@ gw_output_blob_buf(struct gw_trans *gw_trans)
 		goto done;
 	}
 
-	error = got_repo_map_path(&in_repo_path, gw_trans->repo, path, 1);
+	error = got_repo_map_path(&in_repo_path, gw_trans->repo, path);
 	if (error)
 		goto done;
 
@@ -4169,7 +4169,7 @@ gw_output_repo_tree(struct gw_trans *gw_trans)
 		}
 	} else {
 		error = got_repo_map_path(&in_repo_path, gw_trans->repo,
-		    gw_trans->repo_path, 1);
+		    gw_trans->repo_path);
 		if (error)
 			goto done;
 		free(path);