[Freeswitch-svn] [commit] r9845 - freeswitch/trunk/src/mod/applications/mod_conference
Freeswitch SVN
brian at freeswitch.org
Sun Oct 5 00:36:46 EDT 2008
Author: brian
Date: Sun Oct 5 00:36:45 2008
New Revision: 9845
Modified:
freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
Log:
tweaks
Modified: freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c Sun Oct 5 00:36:45 2008
@@ -3075,12 +3075,12 @@
switch_event_t *event;
if (switch_strlen_zero(text)) {
- stream->write_function(stream, "(say) Error! No text.");
+ stream->write_function(stream, "(say) Error! No text.\n");
return SWITCH_STATUS_GENERR;
}
if (conference_say(conference, text, 0) != SWITCH_STATUS_SUCCESS) {
- stream->write_function(stream, "(say) Error!");
+ stream->write_function(stream, "(say) Error!\n");
return SWITCH_STATUS_GENERR;
}
@@ -3127,7 +3127,7 @@
}
if (!(member = conference_member_get(conference, id))) {
- stream->write_function(stream, "(saymember) Unknown Member %u!", id);
+ stream->write_function(stream, "(saymember) Unknown Member %u!\n", id);
goto done;
}
@@ -3138,7 +3138,7 @@
}
if (!text || conference_member_say(member, (char *) text, 0) != SWITCH_STATUS_SUCCESS) {
- stream->write_function(stream, "(saymember) Error!");
+ stream->write_function(stream, "(saymember) Error!\n");
goto done;
}
@@ -3220,9 +3220,9 @@
if ((member = conference_member_get(conference, id))) {
member_del_relationship(member, oid);
- stream->write_function(stream, "relationship %u->%u cleared.", id, oid);
+ stream->write_function(stream, "relationship %u->%u cleared.\n", id, oid);
} else {
- stream->write_function(stream, "relationship %u->%u not found", id, oid);
+ stream->write_function(stream, "relationship %u->%u not found.\n", id, oid);
}
return SWITCH_STATUS_SUCCESS;
}
@@ -3254,7 +3254,7 @@
stream->write_function(stream, "error!\n");
}
} else {
- stream->write_function(stream, "relationship %u->%u not found", id, oid);
+ stream->write_function(stream, "relationship %u->%u not found.\n", id, oid);
}
}
More information about the Freeswitch-svn
mailing list