rtsp-client: Fix iteration

Wouldn't even enter the code block otherwise (i++ was used as the check
and not the postfix).
This commit is contained in:
Edward Hervey 2013-12-19 14:24:54 +01:00
parent 7a947e8dfe
commit d3237dc9dc

View file

@ -1752,7 +1752,7 @@ handle_describe_request (GstRTSPClient * client, GstRTSPContext * ctx)
/* check what kind of format is accepted, we don't really do anything with it
* and always return SDP for now. */
for (i = 0; i++;) {
for (i = 0;; i++) {
gchar *accept;
res =