Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2009-09-02 20:30:27 +0000
committereutarass2009-09-02 20:30:27 +0000
commitecdb7443283d702def3316a40d793efd7ee6115d (patch)
tree81f4b3928e4f85afa33374a39b4ce10fe32c7a16 /symbols.c
parentfdf3876192f9cc3962cfec1c614732fef439034f (diff)
downloadorg.eclipse.tcf.agent-ecdb7443283d702def3316a40d793efd7ee6115d.tar.gz
org.eclipse.tcf.agent-ecdb7443283d702def3316a40d793efd7ee6115d.tar.xz
org.eclipse.tcf.agent-ecdb7443283d702def3316a40d793efd7ee6115d.zip
Code cleanup: trailing spaces are removed from the source line
Diffstat (limited to 'symbols.c')
-rw-r--r--symbols.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/symbols.c b/symbols.c
index 0f63bf6d..22e4b063 100644
--- a/symbols.c
+++ b/symbols.c
@@ -1,13 +1,13 @@
/*******************************************************************************
* Copyright (c) 2007-2009 Wind River Systems, Inc. and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v1.0 which accompany this distribution.
* The Eclipse Public License is available at
* http://www.eclipse.org/legal/epl-v10.html
- * and the Eclipse Distribution License is available at
+ * and the Eclipse Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
- *
+ *
* Contributors:
* Wind River Systems - initial API and implementation
*******************************************************************************/
@@ -30,7 +30,7 @@ static void command_get_context(char * token, Channel * c) {
int err = 0;
char id[256];
Symbol sym;
-
+
json_read_string(&c->inp, id, sizeof(id));
if (read_stream(&c->inp) != 0) exception(ERR_JSON_SYNTAX);
if (read_stream(&c->inp) != MARKER_EOM) exception(ERR_JSON_SYNTAX);
@@ -40,7 +40,7 @@ static void command_get_context(char * token, Channel * c) {
write_stringz(&c->out, "R");
write_stringz(&c->out, token);
write_errno(&c->out, err);
-
+
if (err == 0) {
char * name = NULL;
int type_class = TYPE_CLASS_UNKNOWN;
@@ -157,7 +157,7 @@ static void command_get_children(char * token, Channel * c) {
Symbol sym;
Symbol * list = NULL;
int cnt = 0;
-
+
json_read_string(&c->inp, id, sizeof(id));
if (read_stream(&c->inp) != 0) exception(ERR_JSON_SYNTAX);
if (read_stream(&c->inp) != MARKER_EOM) exception(ERR_JSON_SYNTAX);
@@ -168,7 +168,7 @@ static void command_get_children(char * token, Channel * c) {
write_stringz(&c->out, "R");
write_stringz(&c->out, token);
write_errno(&c->out, err);
-
+
if (err == 0) {
int i;
write_stream(&c->out, '[');

Back to the top