[Asterisk-cvs] asterisk/apps app_read.c,1.9,1.10
markster at lists.digium.com
markster at lists.digium.com
Tue Dec 14 23:30:51 CST 2004
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv26732/apps
Modified Files:
app_read.c
Log Message:
Fix silly read problem which would hang up if nobody called (bug #3042)
Index: app_read.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_read.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- app_read.c 2 Sep 2004 13:52:58 -0000 1.9
+++ app_read.c 15 Dec 2004 04:27:35 -0000 1.10
@@ -106,8 +106,9 @@
if (res > -1) {
pbx_builtin_setvar_helper(chan, varname, tmp);
ast_verbose(VERBOSE_PREFIX_3 "User entered '%s'\n", tmp);
+ res = 0;
} else {
- ast_verbose(VERBOSE_PREFIX_3 "User entered nothing\n");
+ ast_verbose(VERBOSE_PREFIX_3 "User disconnected\n");
}
}
LOCAL_USER_REMOVE(u);
More information about the svn-commits
mailing list