[gmime] Fixed the build



commit 2432a0c23bcfa4d170922e148e205cf3645f7d92
Author: Jeffrey Stedfast <jestedfa microsoft com>
Date:   Wed Mar 15 17:37:15 2017 -0400

    Fixed the build

 examples/imap-example.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/examples/imap-example.c b/examples/imap-example.c
index ee867cf..d64bb1c 100644
--- a/examples/imap-example.c
+++ b/examples/imap-example.c
@@ -631,7 +631,7 @@ bodystruct_dump (struct _bodystruct *part, int depth)
        
        if (part->content.params) {
                n = g_mime_param_list_length (part->content.params);
-               for (int i = 0; i < n; i++) {
+               for (i = 0; i < n; i++) {
                        param = g_mime_param_list_get_parameter_at (part->content.params, i);
                        fprintf (stderr, "; %s=%s", g_mime_param_get_name (param),
                                 g_mime_param_get_value (param));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]