Merged revisions 53042 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Wed, 31 Jan 2007 18:18:58 +0000 (18:18 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 31 Jan 2007 18:18:58 +0000 (18:18 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53042 | russell | 2007-01-31 12:18:25 -0600 (Wed, 31 Jan 2007) | 2 lines

Remove an extra \r\n from manager user events.  (issue #8955, mnicholson)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53043 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_userevent.c

index 0756185..df7bc58 100644 (file)
@@ -83,7 +83,7 @@ static int userevent_exec(struct ast_channel *chan, void *data)
                buflen += 2;
        }
 
-       manager_event(EVENT_FLAG_USER, "UserEvent", "UserEvent: %s\r\n%s\r\n", args.eventname, buf);
+       manager_event(EVENT_FLAG_USER, "UserEvent", "UserEvent: %s\r\n%s", args.eventname, buf);
 
        ast_module_user_remove(u);