summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:36:56 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:36:56 +0000
commit9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b (patch)
tree454f5975d6d44abec57d19aa50f11e773af2273f /src/server
parent50c086ffb94f199c088f4cc52b7887b668dddf00 (diff)
downloadopenocd+libswd-9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b.tar.gz
openocd+libswd-9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b.tar.bz2
openocd+libswd-9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b.tar.xz
openocd+libswd-9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b.zip
- Replace 'switch(' with 'switch ('.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2359 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server')
-rw-r--r--src/server/gdb_server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index 27200686..bf11be1a 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@@ -188,7 +188,7 @@ int gdb_get_char(connection_t *connection, int* next_char)
#ifdef _WIN32
errno = WSAGetLastError();
- switch(errno)
+ switch (errno)
{
case WSAEWOULDBLOCK:
usleep(1000);
@@ -204,7 +204,7 @@ int gdb_get_char(connection_t *connection, int* next_char)
exit(-1);
}
#else
- switch(errno)
+ switch (errno)
{
case EAGAIN:
usleep(1000);
@@ -1964,7 +1964,7 @@ int gdb_v_packet(connection_t *connection, target_t *target, char *packet, int p
int gdb_detach(connection_t *connection, target_t *target)
{
- switch( detach_mode )
+ switch ( detach_mode )
{
case GDB_DETACH_RESUME:
target_handle_event( target, TARGET_EVENT_OLD_pre_resume );