diff options
author | Taylor Yu <catalyst@torproject.org> | 2019-04-10 17:04:09 -0500 |
---|---|---|
committer | Taylor Yu <catalyst@torproject.org> | 2019-04-30 13:18:46 -0500 |
commit | 983452e2215d27033ed91012a53c1b9ad3dd4a34 (patch) | |
tree | 77e4b6036c9bc8103853976472a7c25ef6686813 /src/feature/control/control_proto.c | |
parent | 58ec88e8060508a253bbe8ba5c19b020a2629ea0 (diff) | |
download | tor-983452e2215d27033ed91012a53c1b9ad3dd4a34.tar.gz tor-983452e2215d27033ed91012a53c1b9ad3dd4a34.zip |
Run Coccinelle for control.c refactor
Diffstat (limited to 'src/feature/control/control_proto.c')
-rw-r--r-- | src/feature/control/control_proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/control/control_proto.c b/src/feature/control/control_proto.c index 7bd237de94..1dd62da2be 100644 --- a/src/feature/control/control_proto.c +++ b/src/feature/control/control_proto.c @@ -166,7 +166,7 @@ read_escaped_data(const char *data, size_t len, char **out) void send_control_done(control_connection_t *conn) { - connection_write_str_to_buf("250 OK\r\n", conn); + control_write_endreply(conn, 250, "OK"); } /** Write a reply to the control channel. |