From 55891cb44a62c8170f806901a12490f634d5165e Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Fri, 7 Dec 2001 07:58:07 +0000 Subject: run "make indent" --- linein.c | 6 +++--- url.c | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/linein.c b/linein.c index 219b93c..c1650fc 100644 --- a/linein.c +++ b/linein.c @@ -1,4 +1,4 @@ -/* $Id: linein.c,v 1.14 2001/12/07 07:24:22 ukai Exp $ */ +/* $Id: linein.c,v 1.15 2001/12/07 07:58:07 ukai Exp $ */ #include "fm.h" #include "local.h" #include "myctype.h" @@ -682,7 +682,7 @@ next_compl(int next) else { for (b = CPos - 1; b >= 0; b--) { if ((strBuf->ptr[b] == ' ' || strBuf->ptr[b] == CTRL_I) && - !((b > 0) && strBuf->ptr[b-1] == '\\')) + !((b > 0) && strBuf->ptr[b - 1] == '\\')) break; } b++; @@ -888,7 +888,7 @@ unescape_spaces(Str s) if (s == NULL) return s; for (p = s->ptr; *p; p++) { - if (*p == '\\' && (*(p+1) == ' ' || *(p+1) == CTRL_I)) { + if (*p == '\\' && (*(p + 1) == ' ' || *(p + 1) == CTRL_I)) { if (tmp == NULL) tmp = Strnew_charp_n(s->ptr, (int)(p - s->ptr)); } diff --git a/url.c b/url.c index 5649b86..5c02fc2 100644 --- a/url.c +++ b/url.c @@ -1,4 +1,4 @@ -/* $Id: url.c,v 1.21 2001/12/06 22:45:06 ukai Exp $ */ +/* $Id: url.c,v 1.22 2001/12/07 07:58:07 ukai Exp $ */ #include "fm.h" #include #include @@ -464,8 +464,7 @@ openSocket(char *const hostname, #ifdef INET6 /* rfc2732 compliance */ hname = hostname; - if (hname != NULL && hname[0] == '[' && - hname[strlen(hname) - 1] == ']') { + if (hname != NULL && hname[0] == '[' && hname[strlen(hname) - 1] == ']') { hname = allocStr(hostname + 1, -1); hname[strlen(hname) - 1] = '\0'; if (strspn(hname, "0123456789abcdefABCDEF:.") != strlen(hname)) -- cgit v1.2.3