summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2002-03-04 05:37:26 +0000
committerAndy Wingo <wingo@pobox.com>2002-03-04 05:37:26 +0000
commitf42c6f238f30be79b67c1f55ac9b9fa2dcf2f84f (patch)
treed8f07f0854dcd4b7eabd3a244fe3b041e891800b
parent4ec2d4aaf76b61bd3cc9ff553d7ed9d18361b46d (diff)
downloadgstreamer-f42c6f238f30be79b67c1f55ac9b9fa2dcf2f84f.tar.gz
let's not increment in GST_DEBUG code...
Original commit message from CVS: let's not increment in GST_DEBUG code...
-rw-r--r--gst/gstparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/gstparse.c b/gst/gstparse.c
index 9ef0bd8be3..8957d7254a 100644
--- a/gst/gstparse.c
+++ b/gst/gstparse.c
@@ -600,8 +600,8 @@ gst_parse_launch (const gchar * pipeline_description)
g_slist_free (string_list);
/* print them out */
- while (argvn[i]) {
- GST_DEBUG (0, "arg %d is: %s\n", i, argvn[i++]);
+ while (argvn[i++]) {
+ GST_DEBUG (0, "arg %d is: %s\n", i-1, argvn[i-1]);
}
/* do it! */