Module: wine Branch: master Commit: ff304fb5c75a7bc5f17dcdd1acb2203872923810 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ff304fb5c75a7bc5f17dcdd1ac...
Author: Frédéric Delanoy frederic.delanoy@gmail.com Date: Tue Dec 24 09:25:35 2013 +0100
inetcomm/tests: Constify some character strings.
---
dlls/inetcomm/tests/mimeole.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/inetcomm/tests/mimeole.c b/dlls/inetcomm/tests/mimeole.c index 389e267..7e98563 100644 --- a/dlls/inetcomm/tests/mimeole.c +++ b/dlls/inetcomm/tests/mimeole.c @@ -32,7 +32,7 @@
#include "wine/test.h"
-static char msg1[] = +static const char msg1[] = "MIME-Version: 1.0\r\n" "Content-Type: multipart/mixed;\r\n" " boundary="------------1.5.0.6";\r\n" @@ -224,7 +224,7 @@ static void test_CreateMessage(void) char text[] = "text"; HBODY *body_list; PROPVARIANT prop; - static char att_pritype[] = "att:pri-content-type"; + static const char att_pritype[] = "att:pri-content-type";
hr = MimeOleCreateMessage(NULL, &msg); ok(hr == S_OK, "ret %08x\n", hr);