mirror of
https://github.com/samba-team/samba.git
synced 2025-08-08 13:49:29 +03:00
r24008: Fix Bug 4792. Thanks to David Gajewski <dgajews@math.utoledo.edu> and to
Timur I. Bakeyev for bugging me :-) Volker
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
d05f7aefdf
commit
59aef0451b
@ -105,7 +105,7 @@ void pidfile_create(const char *program_name)
|
||||
short_configfile++;
|
||||
}
|
||||
if (asprintf(&name, "%s-%s", program_name,
|
||||
short_configfile+1) == -1) {
|
||||
short_configfile) == -1) {
|
||||
smb_panic("asprintf failed");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user