[gmime] Update README.md



commit b7eebf4f5feb1a3cf5cdc78f300c23e8267cc402
Author: Jeffrey Stedfast <jestedfa microsoft com>
Date:   Sun Mar 5 08:43:36 2017 -0500

    Update README.md

 README.md |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/README.md b/README.md
index 4360c15..bd5ce93 100644
--- a/README.md
+++ b/README.md
@@ -99,7 +99,7 @@ GMimeParser *parser;
 gint64 offset;
 char *marker;
 
-stream = g_mime_stream_file_new (fopen ("Inbox.mbox", "r"));
+stream = g_mime_stream_file_open ("Inbox.mbox", "r");
 parser = g_mime_parser_new_with_stream (stream);
 
 /* tell the parser to scan mbox-style "From " markers */


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