[geary/wip/wip/789271-contact-office-0.12: 3/3] Upper-case the fetch data type literals sent to the server. Bug 789271.



commit e449484fcf3bb1920bfe20a101596bbbf61b2c95
Author: Michael James Gratton <mike vee net>
Date:   Thu Oct 26 10:22:28 2017 +1100

    Upper-case the fetch data type literals sent to the server. Bug 789271.

 .../imap/message/imap-fetch-data-specifier.vala    |   26 ++++++++++----------
 1 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/src/engine/imap/message/imap-fetch-data-specifier.vala 
b/src/engine/imap/message/imap-fetch-data-specifier.vala
index d9e3849..cdfa0a4 100644
--- a/src/engine/imap/message/imap-fetch-data-specifier.vala
+++ b/src/engine/imap/message/imap-fetch-data-specifier.vala
@@ -34,43 +34,43 @@ public enum Geary.Imap.FetchDataSpecifier {
     public string to_string() {
         switch (this) {
             case UID:
-                return "uid";
+                return "UID";
             
             case FLAGS:
-                return "flags";
+                return "FLAGS";
             
             case INTERNALDATE:
-                return "internaldate";
+                return "INTERNALDATE";
             
             case ENVELOPE:
-                return "envelope";
+                return "ENVELOPE";
             
             case BODYSTRUCTURE:
-                return "bodystructure";
+                return "BODYSTRUCTURE";
             
             case BODY:
-                return "body";
+                return "BODY";
             
             case RFC822:
-                return "rfc822";
+                return "RFC822";
             
             case RFC822_HEADER:
-                return "rfc822.header";
+                return "RFC822.HEADER";
             
             case RFC822_SIZE:
-                return "rfc822.size";
+                return "RFC822.SIZE";
             
             case RFC822_TEXT:
-                return "rfc822.text";
+                return "RFC822.TEXT";
             
             case FAST:
-                return "fast";
+                return "FAST";
             
             case ALL:
-                return "all";
+                return "ALL";
             
             case FULL:
-                return "full";
+                return "FULL";
             
             default:
                 assert_not_reached();


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