From 0449e072cc4bbf1d19a23b488cb1a6be07a026ea Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Tue, 26 Nov 2002 17:12:25 +0000 Subject: fix indent --- file.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/file.c b/file.c index 5ed8175..58c6c38 100644 --- a/file.c +++ b/file.c @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.130 2002/11/26 17:05:24 ukai Exp $ */ +/* $Id: file.c,v 1.131 2002/11/26 17:12:25 ukai Exp $ */ #include "fm.h" #include #include "myctype.h" @@ -3946,7 +3946,7 @@ getMetaRefreshParam(char *q, Str *refresh_uri) char *r; Str s_tmp = NULL; - if(q == NULL || refresh_uri == NULL) + if (q == NULL || refresh_uri == NULL) return 0; refresh_interval = atoi(q); @@ -3960,11 +3960,11 @@ getMetaRefreshParam(char *q, Str *refresh_uri) while (*r && !IS_SPACE(*r) && *r != ';') r++; s_tmp = Strnew_charp_n(q, r - q); - + if (s_tmp->ptr[s_tmp->length - 1] == '\"') { /* " */ s_tmp->length--; - s_tmp->ptr[s_tmp->length] = '\0'; + s_tmp->ptr[s_tmp->length] = '\0'; } q = r; } -- cgit v1.2.3