Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning的修正,以及几个小地方修改 #3

Merged
merged 1 commit into from
Apr 12, 2016
Merged

warning的修正,以及几个小地方修改 #3

merged 1 commit into from
Apr 12, 2016

Conversation

ZiWee
Copy link

@ZiWee ZiWee commented Apr 6, 2016

修改了makefile:

  1. 去掉了makefile中的-lsocket
  2. 修改了书写方法

修改了httpd.c:

  1. 对标准输入输出文件描述符加了宏定义,
  2. 修正了几个隐式类型转换导致warning的地方
  3. 增加了一处对请求类型是否是post的具体判断,之前仅将else判定为POST,忽略了HEAD等类型
  4. 执行CGI的execl语句的第二个参数是否有误?

修改了makefile:
1. 去掉了makefile中的-lsocket
2. 修改了书写方法

修改了httpd.c:
1. 对标准输入输出文件描述符加了宏定义,
2. 修正了几个隐式类型转换导致warning的地方
3. 增加了一处对请求类型是否是post的具体判断,之前仅将else判定为POST,忽略了HEAD等类型
4. 执行CGI的execl语句的第二个参数是否有误?
@EZLippi EZLippi merged commit 75b9a06 into EZLippi:master Apr 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants