mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 14:27:14 +00:00
Merged revisions 89631 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89631 | tilghman | 2007-11-27 09:38:03 -0600 (Tue, 27 Nov 2007) | 3 lines Default result of STAT should be "0" not "". Reported via the -users mailing list, fixed by me. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89632 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -69,7 +69,7 @@ static int stat_read(struct ast_channel *chan, const char *cmd, char *data,
|
|||||||
char *action;
|
char *action;
|
||||||
struct stat s;
|
struct stat s;
|
||||||
|
|
||||||
*buf = '\0';
|
ast_copy_string(buf, "0", len);
|
||||||
|
|
||||||
action = strsep(&data, ",");
|
action = strsep(&data, ",");
|
||||||
if (stat(data, &s)) {
|
if (stat(data, &s)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user