jingle-ibb/ibb.c
changeset 131 943c3f938cb4
parent 130 da01e4b2d7fa
child 133 361d8577ebd1
--- a/jingle-ibb/ibb.c	Mon Aug 16 02:55:00 2010 +0200
+++ b/jingle-ibb/ibb.c	Mon Aug 16 02:56:46 2010 +0200
@@ -107,11 +107,9 @@
   ibb->blocksize = g_ascii_strtoll(blocksize, NULL, 10);
 
   // If block size is too big, we change it
-  if (ibb->blocksize > IBB_BLOCK_SIZE_MAX) {
+  if (ibb->blocksize > IBB_BLOCK_SIZE_MAX)
     ibb->blocksize = IBB_BLOCK_SIZE_MAX;
-    return NULL;
-  }
-  ibb->blocksize = 2048;
+  
   // the blocksize attribute is a xs:short an therefore can be negative.
   if (ibb->blocksize < 0) {
     g_set_error(err, JINGLE_CHECK_ERROR, JINGLE_CHECK_ERROR_BADVALUE,