summaryrefslogtreecommitdiffstats
path: root/stream/stream_smb.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_smb.c')
-rw-r--r--stream/stream_smb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stream/stream_smb.c b/stream/stream_smb.c
index d50258be97..3fcfb7e459 100644
--- a/stream/stream_smb.c
+++ b/stream/stream_smb.c
@@ -166,7 +166,7 @@ static int open_f (stream_t *stream, int mode)
}
const stream_info_t stream_info_smb = {
- "smb",
- open_f,
- {"smb", NULL},
+ .name = "smb",
+ .open = open_f,
+ .protocols = (const char*[]){"smb", NULL},
};