mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-17 00:51:09 +02:00
fixed on_done argument length; thanks to Paul Howes (phowes).
This commit is contained in:
parent
764a3583b2
commit
9aa411409d
|
@ -431,8 +431,8 @@ ngx_rtmp_notify_save_name_args(ngx_rtmp_session_t *s,
|
|||
ngx_rtmp_set_ctx(s, ctx, ngx_rtmp_notify_module);
|
||||
}
|
||||
|
||||
ngx_memcpy(ctx->name, name, sizeof(name));
|
||||
ngx_memcpy(ctx->args, args, sizeof(args));
|
||||
ngx_memcpy(ctx->name, name, NGX_RTMP_MAX_NAME);
|
||||
ngx_memcpy(ctx->args, args, NGX_RTMP_MAX_ARGS);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue