File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ ngx_rtmp_auto_push_init_process(ngx_cycle_t *cycle)
200200 saun -> sun_family = AF_UNIX ;
201201 pid = ngx_getpid ();
202202 * ngx_snprintf ((u_char * ) saun -> sun_path , sizeof (saun -> sun_path ),
203- "%V/" NGX_RTMP_AUTO_PUSH_SOCKNAME ".%i " ,
203+ "%V/" NGX_RTMP_AUTO_PUSH_SOCKNAME ".%P " ,
204204 & apcf -> socket_dir , pid )
205205 = 0 ;
206206
@@ -403,7 +403,7 @@ ngx_rtmp_auto_push_exit_process(ngx_cycle_t *cycle)
403403
404404 pid = ngx_getpid ();
405405 * ngx_snprintf (path , sizeof (path ),
406- "%V/" NGX_RTMP_AUTO_PUSH_SOCKNAME ".%i " ,
406+ "%V/" NGX_RTMP_AUTO_PUSH_SOCKNAME ".%P " ,
407407 & apcf -> socket_dir , pid )
408408 = 0 ;
409409
@@ -516,7 +516,7 @@ ngx_rtmp_auto_push_reconnect(ngx_event_t *ev)
516516 ngx_memzero (& at .url , sizeof (at .url ));
517517 u = & at .url .url ;
518518 p = ngx_snprintf (path , sizeof (path ) - 1 ,
519- "unix:%V/" NGX_RTMP_AUTO_PUSH_SOCKNAME ".%i " ,
519+ "unix:%V/" NGX_RTMP_AUTO_PUSH_SOCKNAME ".%P " ,
520520 & apcf -> socket_dir , pid );
521521 * p = 0 ;
522522
You can’t perform that action at this time.
0 commit comments