]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
revert
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 9 Sep 2011 20:13:13 +0000 (15:13 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 12 Sep 2011 19:25:01 +0000 (14:25 -0500)
src/switch_utils.c

index ea6a0a2dfaf84448a5d2af48cc9cfb3df40bb79a..50f1725f5ee2d3329888c52b01acfa81247cc530 100644 (file)
@@ -466,9 +466,6 @@ SWITCH_DECLARE(switch_status_t) switch_b64_encode(unsigned char *in, switch_size
                b = (b << 8) + in[x];
                l += 8;
 
-               if ((x % 1024) == 0) {
-                       switch_cond_next(); /* give other processes/threads a chance */
-               }
                while (l >= 6) {
                        out[bytes++] = switch_b64_table[(b >> (l -= 6)) % 64];
                        if (++y != 72) {
@@ -645,7 +642,6 @@ SWITCH_DECLARE(switch_bool_t) switch_simple_email(const char *to,
                        }
 
                        while ((ilen = read(ifd, in, B64BUFFLEN))) {
-                               switch_cond_next(); /* give other processes/threads a chance */
                                for (x = 0; x < ilen; x++) {
                                        b = (b << 8) + in[x];
                                        l += 8;