Skip to content

Commit

Permalink
Whitespace/formatting cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
asheshv authored and dpage committed Dec 9, 2017
1 parent 19e67c8 commit 4407506
Show file tree
Hide file tree
Showing 7 changed files with 269 additions and 269 deletions.
12 changes: 6 additions & 6 deletions dbgcomm.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* communication.
* Copyright (c) 2004-2017 EnterpriseDB Corporation. All Rights Reserved.
*
* Licensed under the Artistic License, see
* Licensed under the Artistic License, see
* http://www.opensource.org/licenses/artistic-license.php
* for full details
*
Expand Down Expand Up @@ -666,15 +666,15 @@ findTargetSlot(BackendId backendid)

static uint32 resolveHostName( const char * hostName )
{
struct hostent * hostDesc;
uint32 hostAddress;
struct hostent * hostDesc;
uint32 hostAddress;

if(( hostDesc = gethostbyname( hostName )))
if(( hostDesc = gethostbyname( hostName )))
hostAddress = ((struct in_addr *)hostDesc->h_addr )->s_addr;
else
else
hostAddress = inet_addr( hostName );

if(( hostAddress == -1 ) || ( hostAddress == INADDR_NONE ))
if(( hostAddress == -1 ) || ( hostAddress == INADDR_NONE ))
return( 0 );
else
return( hostAddress );
Expand Down
2 changes: 1 addition & 1 deletion dbgcomm.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Copyright (c) 2004-2017 EnterpriseDB Corporation. All Rights Reserved.
*
* Licensed under the Artistic License, see
* Licensed under the Artistic License, see
* http://www.opensource.org/licenses/artistic-license.php
* for full details
*/
Expand Down
8 changes: 4 additions & 4 deletions globalbp.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Copyright (c) 2004-2017 EnterpriseDB Corporation. All Rights Reserved.
*
* Licensed under the Artistic License, see
* Licensed under the Artistic License, see
* http://www.opensource.org/licenses/artistic-license.php
* for full details
*/
Expand All @@ -21,7 +21,7 @@ typedef enum
BP_GLOBAL
} eBreakpointScope;

/*
/*
* Stores information pertaining to a global breakpoint.
*/
typedef struct BreakpointData
Expand All @@ -32,7 +32,7 @@ typedef struct BreakpointData
int proxyPid; /* process id of the proxy process */
} BreakpointData;

/*
/*
* The key of the global breakpoints hash table. For now holds only have an Oid field.
* but it may contain more fields in future.
*/
Expand All @@ -47,7 +47,7 @@ typedef struct BreakpointKey
typedef struct Breakpoint
{
BreakpointKey key;
BreakpointData data;
BreakpointData data;
} Breakpoint;

extern Breakpoint * BreakpointLookup(eBreakpointScope scope, BreakpointKey *key);
Expand Down
Loading

0 comments on commit 4407506

Please sign in to comment.