Rev 3838 | Rev 8100 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3838 | Rev 8086 | ||
---|---|---|---|
Line 79... | Line 79... | ||
79 | for(request=0;request<reqcnt && strcasecmp(req[request].name,p)!=0; request++); |
79 | for(request=0;request<reqcnt && strcasecmp(req[request].name,p)!=0; request++); |
80 | if(request>=reqcnt) error("Bad request."); |
80 | if(request>=reqcnt) error("Bad request."); |
81 | p=find_word_start(pp); pp=find_word_end(p); if(*pp) *pp++=0; |
81 | p=find_word_start(pp); pp=find_word_end(p); if(*pp) *pp++=0; |
82 | objline[0]=pp; reqtype=p; |
82 | objline[0]=pp; reqtype=p; |
83 | } |
83 | } |
- | 84 | ||
- | 85 | void (*string_modify)(char *start, char *bad_beg, char *bad_end, char *good,...)=string_modify1; |
|
84 | 86 | ||
85 | int main() |
87 | int main() |
86 | { |
88 | { |
87 | char *p; |
89 | char *p; |
88 | int i; |
90 | int i; |
89 | 91 | ||
90 | error1=error; error2=error; error3=error; |
92 | error1=error; error2=error; error3=error; |
91 | p=getenv("wims_exec_parm"); |
93 | p=getenv("wims_exec_parm"); |
92 | if(p==NULL || *p==0) error("No input data."); |
94 | if(p==NULL || *p==0) error("No input data."); |
93 | snprintf(parmbuf,sizeof(parmbuf),"%s",p); |
95 | snprintf(parmbuf,sizeof(parmbuf),"%s",p); |
94 | parm(); |
96 | parm(); |