cosmetics
authorAndre <maan@meins.(none)>
Tue, 10 Oct 2006 17:54:47 +0000 (19:54 +0200)
committerAndre <maan@meins.(none)>
Tue, 10 Oct 2006 17:54:47 +0000 (19:54 +0200)
ortp_send.c

index deb7d94763dfe53b6a58963bd0360175eda171de..15b97eb1304caaf2ec1198acde6252dd1bc10ee3 100644 (file)
@@ -78,11 +78,12 @@ static void ortp_send_buf(char *buf, int len, long unsigned chunks_sent)
                        continue;
                WRITE_CHUNK_TS(buf, ot->chunk_ts);
                ts = ot->chunk_ts * chunks_sent;
                        continue;
                WRITE_CHUNK_TS(buf, ot->chunk_ts);
                ts = ot->chunk_ts * chunks_sent;
-               ret = rtp_session_send_with_ts(ot->session, (unsigned char *)buf, len, ts);
+               ret = rtp_session_send_with_ts(ot->session,
+                       (unsigned char*)buf, len, ts);
                ot->last_ts = ts;
                if (ret < 0)
                        ortp_delete_target(ot, "send error");
                ot->last_ts = ts;
                if (ret < 0)
                        ortp_delete_target(ot, "send error");
-               if (ret != len +12)
+               if (ret != len + 12)
                        PARA_NOTICE_LOG("short write %d\n", ret);
        }
 }
                        PARA_NOTICE_LOG("short write %d\n", ret);
        }
 }