source4 smbd: Make the service_details structure constant.
[samba.git] / source4 / rpc_server / service_rpc.c
index eb75184a05f677f2861f734764aa9b8633e37335..f7d1a9f3c7df105fb34122ce4d3e0e444e1fd136 100644 (file)
@@ -142,7 +142,7 @@ failed:
 
 NTSTATUS server_service_rpc_init(TALLOC_CTX *ctx)
 {
-       struct service_details details = {
+       static const struct service_details details = {
                /* 
                 * This is a SNOWFLAKE, but sadly one that we
                 * will have to keep for now.  The RPC server