[Asterisk-cvs] asterisk/apps app_voicemail.c,1.153,1.154
citats at lists.digium.com
citats at lists.digium.com
Sat Oct 2 10:44:35 CDT 2004
- Previous message: [Asterisk-cvs]
asterisk-addons app_saycountpl.c, NONE, 1.1 Makefile, 1.6, 1.7
- Next message: [Asterisk-cvs] libpri pri_timers.h, NONE, 1.1 libpri.h, 1.32,
1.33 pri.c, 1.24, 1.25 pri_internal.h, 1.11, 1.12 pri_q921.h,
1.9, 1.10 q921.c, 1.17, 1.18 q931.c, 1.87, 1.88
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/home/citats/cvs/asterisk/apps
Modified Files:
app_voicemail.c
Log Message:
Formatting cleanup in app_voicemail.c
Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -d -r1.153 -r1.154
--- app_voicemail.c 2 Oct 2004 03:01:20 -0000 1.153
+++ app_voicemail.c 2 Oct 2004 14:46:26 -0000 1.154
@@ -324,7 +324,7 @@
char *s;
char *var, *value;
- while((s = strsep(&stringp, "|"))) {
+ while ((s = strsep(&stringp, "|"))) {
value = s;
if ((var = strsep(&value, "=")) && value) {
if (!strcasecmp(var, "attach")) {
@@ -341,37 +341,37 @@
} else if (!strcasecmp(var, "delete")) {
vmu->delete = ast_true(value);
[...1014 lines suppressed...]
- case '1':
- if (!message_exists) {
+ while ((cmd >= 0) && (cmd != 't')) {
+ switch (cmd) {
+ case '1':
+ if (!message_exists) {
/* In this case, 1 is to record a message */
cmd = '3';
break;
@@ -4718,8 +4712,8 @@
/* Message is all silence */
ast_verbose(VERBOSE_PREFIX_3 "Nothing recorded\n");
cmd = vm_delete(recordfile);
- cmd = ast_play_and_wait(chan, "vm-nothingrecorded");
- if (!cmd)
+ cmd = ast_play_and_wait(chan, "vm-nothingrecorded");
+ if (!cmd)
cmd = ast_play_and_wait(chan, "vm-speakup");
break;
}
- Previous message: [Asterisk-cvs]
asterisk-addons app_saycountpl.c, NONE, 1.1 Makefile, 1.6, 1.7
- Next message: [Asterisk-cvs] libpri pri_timers.h, NONE, 1.1 libpri.h, 1.32,
1.33 pri.c, 1.24, 1.25 pri_internal.h, 1.11, 1.12 pri_q921.h,
1.9, 1.10 q921.c, 1.17, 1.18 q931.c, 1.87, 1.88
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list