[asterisk-commits] mmichelson: branch 10-digiumphones r378655 - /branches/10-digiumphones/apps/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jan 8 09:51:33 CST 2013
Author: mmichelson
Date: Tue Jan 8 09:51:27 2013
New Revision: 378655
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=378655
Log:
Fix incorrect pointer manipulation that caused mixmonitor recording to fail.
(closes ASTERISK-20834)
reported by Philippe Lindheimer
Patches:
ASTERISK-20834.patch uploaded by Mark Michelson (License #5049)
Modified:
branches/10-digiumphones/apps/app_mixmonitor.c
Modified: branches/10-digiumphones/apps/app_mixmonitor.c
URL: http://svnview.digium.com/svn/asterisk/branches/10-digiumphones/apps/app_mixmonitor.c?view=diff&rev=378655&r1=378654&r2=378655
==============================================================================
--- branches/10-digiumphones/apps/app_mixmonitor.c (original)
+++ branches/10-digiumphones/apps/app_mixmonitor.c Tue Jan 8 09:51:27 2013
@@ -509,7 +509,8 @@
last_slash = strrchr(filename, '/');
if ((*ext = strrchr(filename, '.')) && (*ext > last_slash)) {
- **(ext++) = '\0';
+ **ext = '\0';
+ *ext += 1;
} else {
*ext = "raw";
}
More information about the asterisk-commits
mailing list