]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - tools/squidclient/Transport.cc
Source Format Enforcement (#532)
[thirdparty/squid.git] / tools / squidclient / Transport.cc
index a388714bb964f7799ad6f291607769d632a293ea..5886db7fabd2fcd58c87d3ea29ce8e815c703f63 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -235,7 +235,7 @@ Transport::Connect()
 }
 
 ssize_t
-Transport::Write(void *buf, size_t len)
+Transport::Write(const void *buf, size_t len)
 {
     if (conn < 0)
         return -1;