fix res_monitor bug
authorAnthony Minessale II <anthmct@yahoo.com>
Mon, 7 Jun 2004 16:51:21 +0000 (16:51 +0000)
committerAnthony Minessale II <anthmct@yahoo.com>
Mon, 7 Jun 2004 16:51:21 +0000 (16:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3167 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_monitor.c

index 3f85b1f..2f028ca 100755 (executable)
@@ -235,7 +235,7 @@ int ast_monitor_stop( struct ast_channel *chan, int need_lock )
                        }                       
                        snprintf(tmp, sizeof(tmp), "%s %s/%s-in.%s %s/%s-out.%s %s/%s.%s &", execute, dir, name, format, dir, name, format, dir, name, format);
                        if (soxmix) {
                        }                       
                        snprintf(tmp, sizeof(tmp), "%s %s/%s-in.%s %s/%s-out.%s %s/%s.%s &", execute, dir, name, format, dir, name, format, dir, name, format);
                        if (soxmix) {
-                         snprintf(tmp2,sizeof(tmp2), "( %s && rm -f %s/%s-* ) &",tmp, dir ,name); /* remove legs when done mixing */
+                         snprintf(tmp2,sizeof(tmp2), "( %s& rm -f %s/%s-* ) &",tmp, dir ,name); /* remove legs when done mixing */
                          strncpy(tmp, tmp2, sizeof(tmp) - 1);
                        }
                        ast_verbose("monitor executing %s\n",tmp);
                          strncpy(tmp, tmp2, sizeof(tmp) - 1);
                        }
                        ast_verbose("monitor executing %s\n",tmp);