summaryrefslogtreecommitdiff
path: root/storage/connect/xobject.cpp
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2015-01-23 23:14:34 +0100
committerOlivier Bertrand <bertrandop@gmail.com>2015-01-23 23:14:34 +0100
commita87bb05a7e4f43299512681eef8f835939e0ca3d (patch)
treea16208065acd33dc62e7ac19a74c7b74e29d322f /storage/connect/xobject.cpp
parent2cd36ad7d0b538d632f774937cdb8269772ef0d7 (diff)
downloadmariadb-git-a87bb05a7e4f43299512681eef8f835939e0ca3d.tar.gz
- Change some line endings from CRLF to LF
modified: storage/connect/json.cpp storage/connect/xobject.cpp
Diffstat (limited to 'storage/connect/xobject.cpp')
-rw-r--r--storage/connect/xobject.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/storage/connect/xobject.cpp b/storage/connect/xobject.cpp
index b9a0236e7c8..817acb561fe 100644
--- a/storage/connect/xobject.cpp
+++ b/storage/connect/xobject.cpp
@@ -355,20 +355,20 @@ bool STRING::Append_quoted(PSZ s)
if (s) for (char *p = s; !b && *p; p++)
switch (*p) {
- case '\'':
- case '\\':
- case '\t':
- case '\n':
- case '\r':
- case '\b':
- case '\f': b |= Append('\\');
- // passthru
- default:
- b |= Append(*p);
- break;
- } // endswitch *p
-
- return (b |= Append('\''));
+ case '\'':
+ case '\\':
+ case '\t':
+ case '\n':
+ case '\r':
+ case '\b':
+ case '\f': b |= Append('\\');
+ // passthru
+ default:
+ b |= Append(*p);
+ break;
+ } // endswitch *p
+
+ return (b |= Append('\''));
} // end of Append_quoted
/***********************************************************************/