Fix tornado model of httheaders.add.

This commit is contained in:
Joe Farebrother
2024-06-26 09:21:53 +01:00
parent 0901b3d0a6
commit 6538d22d3f
2 changed files with 2 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ module Tornado {
private class TornadoHeadersAppendCall extends Http::Server::ResponseHeaderWrite::Range,
DataFlow::MethodCallNode
{
TornadoHeadersAppendCall() { this.calls(instance(), "append") }
TornadoHeadersAppendCall() { this.calls(instance(), "add") }
override DataFlow::Node getNameArg() { result = [this.getArg(0), this.getArgByName("name")] }