ustream-ssl: make ustream_ssl.server_name const
authorAlexander Couzens <lynxis@fe80.eu>
Thu, 6 Aug 2015 11:01:34 +0000 (13:01 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 6 Aug 2015 14:27:17 +0000 (16:27 +0200)
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
ustream-ssl.h

index 0c55344..7787788 100644 (file)
@@ -34,7 +34,7 @@ struct ustream_ssl {
        void *ssl;
 
        char *peer_cn;
-       char *server_name;
+       const char *server_name;
 
        int error;
        bool connected;