w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit e432eb95a7b7ad773a7fb3e610d2faf65f9540e4
parent e54c8687b8d11a12a8ddc8495f6d3d286a057f61
Author: ukai <ukai>
Date:   Fri, 31 Jan 2003 16:26:41 +0000

fix indent

Diffstat:
Mlocal.c | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/local.c b/local.c @@ -186,9 +186,7 @@ check_local_cgi(char *file, int status) return -1; if (S_ISDIR(st.st_mode)) return -1; - if ((st.st_uid == geteuid() && (st.st_mode & S_IXUSR)) || - (st.st_gid == getegid() && (st.st_mode & S_IXGRP)) || - (st.st_mode & S_IXOTH)) /* executable */ + if ((st.st_uid == geteuid() && (st.st_mode & S_IXUSR)) || (st.st_gid == getegid() && (st.st_mode & S_IXGRP)) || (st.st_mode & S_IXOTH)) /* executable */ return 0; return -1; } @@ -324,7 +322,7 @@ cgi_filename(char *uri, char **fn, char **name, char **path_info) Str tmp2 = Strnew_charp(document_root); if (Strlastchar(tmp2) != '/') Strcat_char(tmp2, '/'); - Strcat_charp(tmp2, uri + 1); + Strcat_charp(tmp2, uri + 1); if (strncmp(tmp2->ptr, tmp->ptr, tmp->length) != 0) return CGIFN_NORMAL; uri = tmp2->ptr;