aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook/test-client.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-08-07 10:15:40 +0800
committerDan Winship <danw@src.gnome.org>2002-08-07 10:15:40 +0800
commit6916d03ad63e4a4b63f065ef2f445d51eb2bb224 (patch)
tree68242c48d68873c389fc626b59e559aef7a68a6b /addressbook/backend/ebook/test-client.c
parent47a7a91181664a44dfaec53a16c95f81364a7ab7 (diff)
downloadgsoc2013-evolution-6916d03ad63e4a4b63f065ef2f445d51eb2bb224.tar
gsoc2013-evolution-6916d03ad63e4a4b63f065ef2f445d51eb2bb224.tar.gz
gsoc2013-evolution-6916d03ad63e4a4b63f065ef2f445d51eb2bb224.tar.bz2
gsoc2013-evolution-6916d03ad63e4a4b63f065ef2f445d51eb2bb224.tar.lz
gsoc2013-evolution-6916d03ad63e4a4b63f065ef2f445d51eb2bb224.tar.xz
gsoc2013-evolution-6916d03ad63e4a4b63f065ef2f445d51eb2bb224.tar.zst
gsoc2013-evolution-6916d03ad63e4a4b63f065ef2f445d51eb2bb224.zip
Use "\r" rather than including literal CRs in the string, which confuses
* backend/ebook/test-client.c (TEST_VCARD): Use "\r" rather than including literal CRs in the string, which confuses gcc on OS X. * backend/ebook/test-card.c (TEST_VCARD): Likewise. svn path=/trunk/; revision=17722
Diffstat (limited to 'addressbook/backend/ebook/test-client.c')
-rw-r--r--addressbook/backend/ebook/test-client.c35
1 files changed, 12 insertions, 23 deletions
diff --git a/addressbook/backend/ebook/test-client.c b/addressbook/backend/ebook/test-client.c
index 04f2c5b0e3..300f25958b 100644
--- a/addressbook/backend/ebook/test-client.c
+++ b/addressbook/backend/ebook/test-client.c
@@ -11,29 +11,18 @@
#include "e-book.h"
#include "e-book-util.h"
-#define TEST_VCARD \
-"BEGIN:VCARD
-" \
-"FN:Nat
-" \
-"N:Friedman;Nat;D;Mr.
-" \
-"BDAY:1977-08-06
-" \
-"TEL;WORK:617 679 1984
-" \
-"TEL;CELL:123 456 7890
-" \
-"EMAIL;INTERNET:nat@nat.org
-" \
-"EMAIL;INTERNET:nat@ximian.com
-" \
-"ADR;WORK;POSTAL:P.O. Box 101;;;Any Town;CA;91921-1234;
-" \
-"END:VCARD
-" \
-"
-"
+#define TEST_VCARD \
+"BEGIN:VCARD\r\n" \
+"FN:Nat\r\n" \
+"N:Friedman;Nat;D;Mr.\r\n" \
+"BDAY:1977-08-06\r\n" \
+"TEL;WORK:617 679 1984\r\n" \
+"TEL;CELL:123 456 7890\r\n" \
+"EMAIL;INTERNET:nat@nat.org\r\n" \
+"EMAIL;INTERNET:nat@ximian.com\r\n" \
+"ADR;WORK;POSTAL:P.O. Box 101;;;Any Town;CA;91921-1234;\r\n" \
+"END:VCARD\r\n" \
+"\r\n"
static CORBA_Environment ev;
static char *cardstr;