[farsight2/master] Fix error message
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:22:17 PST 2008
---
.../multicast/fs-multicast-stream-transmitter.c | 2 +-
transmitters/rawudp/fs-rawudp-stream-transmitter.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/transmitters/multicast/fs-multicast-stream-transmitter.c b/transmitters/multicast/fs-multicast-stream-transmitter.c
index 91a9d8d..bfa9df3 100644
--- a/transmitters/multicast/fs-multicast-stream-transmitter.c
+++ b/transmitters/multicast/fs-multicast-stream-transmitter.c
@@ -493,7 +493,7 @@ fs_multicast_stream_transmitter_add_remote_candidate (
if (candidate->component_id == 0 ||
candidate->component_id > self->priv->transmitter->components) {
g_set_error (error, FS_ERROR, FS_ERROR_INVALID_ARGUMENTS,
- "The candidate passed has has an invalid component id %u (not in [0,%u])",
+ "The candidate passed has an invalid component id %u (not in [1,%u])",
candidate->component_id, self->priv->transmitter->components);
return FALSE;
}
diff --git a/transmitters/rawudp/fs-rawudp-stream-transmitter.c b/transmitters/rawudp/fs-rawudp-stream-transmitter.c
index 90afb86..510690e 100644
--- a/transmitters/rawudp/fs-rawudp-stream-transmitter.c
+++ b/transmitters/rawudp/fs-rawudp-stream-transmitter.c
@@ -574,7 +574,7 @@ fs_rawudp_stream_transmitter_add_remote_candidate (
candidate->component_id > self->priv->transmitter->components)
{
g_set_error (error, FS_ERROR, FS_ERROR_INVALID_ARGUMENTS,
- "The candidate passed has has an invalid component id %u (not in [0,%u])",
+ "The candidate passed has an invalid component id %u (not in [1,%u])",
candidate->component_id, self->priv->transmitter->components);
return FALSE;
}
--
1.5.6.5
More information about the farsight-commits
mailing list