diff options
author | eutarass | 2009-09-02 20:30:27 +0000 |
---|---|---|
committer | eutarass | 2009-09-02 20:30:27 +0000 |
commit | ecdb7443283d702def3316a40d793efd7ee6115d (patch) | |
tree | 81f4b3928e4f85afa33374a39b4ce10fe32c7a16 /symbols.c | |
parent | fdf3876192f9cc3962cfec1c614732fef439034f (diff) | |
download | org.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.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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, '['); |