]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Constify fr_io_t in some places
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 7 Jun 2017 19:22:05 +0000 (15:22 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 7 Jun 2017 19:26:25 +0000 (15:26 -0400)
src/lib/io/channel.h
src/lib/io/io.h

index 5f93069d64b5b964991576d3f3dd41b17dfbbb7d..c32a986cefc89e0812ac4541a324bda2f77ea918 100644 (file)
@@ -111,7 +111,7 @@ typedef struct fr_channel_data_t {
                                                                //!< information, and other proto_* specific information
                                                                //!< that needs to be passed to the request.
 
-       fr_io_t         *io;                                    //!< for tracking packet transport, etc.
+       fr_io_t const   *io;                                    //!< for tracking packet transport, etc.
 } fr_channel_data_t;
 
 fr_channel_t *fr_channel_create(TALLOC_CTX *ctx, fr_control_t *master, fr_control_t *worker) CC_HINT(nonnull);
index ccc3f17707ff9a50df1694444f67c812b10066ae..eaf929ce9e8dec220d884c4acfdb20dfb3cb1b48 100644 (file)
@@ -259,7 +259,7 @@ struct rad_request {
        fr_channel_t            *channel;
 
        uint32_t                priority;
-       fr_io_t                 *io;            //!< How we received this request,
+       fr_io_t const           *io;            //!< How we received this request,
                                                //!< and how we'll send the reply.
 };
 #endif