]> granicus.if.org Git - curl/commitdiff
examples: Corrected unescaped backslash in imap-store.c
authorSteve Holme <steve_holme@hotmail.com>
Wed, 1 Jan 2014 19:31:22 +0000 (19:31 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Wed, 1 Jan 2014 19:31:41 +0000 (19:31 +0000)
docs/examples/imap-store.c

index 7d5f44a6a95026c79005d7904ac9f2631d2d6d72..ed38db5c8e278cea14eed4118e7375bb0b619666 100644 (file)
@@ -44,7 +44,7 @@ int main(void)
     /* Set the STORE command with the Deleted flag for message 1. Note that
      * you can use the STORE command to set other flags such as Seen, Answered,
      * Flagged, Draft and Recent. */
-    curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "STORE 1 +Flags \Deleted");
+    curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "STORE 1 +Flags \\Deleted");
 
     /* Perform the custom request */
     res = curl_easy_perform(curl);