summaryrefslogtreecommitdiff
path: root/src/sm_genid.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-16 22:03:00 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-16 22:03:00 -0700
commit4708d636de50281ab2c52c32b81b7ecb67657820 (patch)
treef6462af5b5dc4936012b432132db180a9aafa270 /src/sm_genid.c
parent44eecd93986368e71c404d8faa264a514bf88ab1 (diff)
Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/sm_genid.c')
-rw-r--r--src/sm_genid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sm_genid.c b/src/sm_genid.c
index 40afb0c..a138572 100644
--- a/src/sm_genid.c
+++ b/src/sm_genid.c
@@ -167,17 +167,17 @@ SmsGenerateClientID(SmsConn smsConn)
return NULL;
for (first_ai = ai; ai != NULL; ai = ai->ai_next) {
- if ( (ai->ai_family == AF_INET) || (ai->ai_family == AF_INET6) )
+ if ( (ai->ai_family == AF_INET) || (ai->ai_family == AF_INET6) )
break;
}
if (ai == NULL) {
freeaddrinfo(first_ai);
return NULL;
- }
+ }
if (ai->ai_family == AF_INET6) {
unsigned char *cp = (unsigned char *) &((struct sockaddr_in6 *)ai->ai_addr)->sin6_addr.s6_addr;
-
+
*addr_ptr++ = '6'; /* IPv6 address code */
for (i = 0 ; i < 16 ; i++) {