examplecode / mproxy

c 语言实现的一个最小的http代理,支持翻墙
990 stars 378 forks source link

1. Add a Makefile 2. Fix typos 3. change ways to parse CLI parameters #5

Closed dryruner closed 9 years ago

dryruner commented 9 years ago
  1. Add a Makefile
  2. Fix the typo: "deamon" ==> "daemon"
  3. Change the ways to parse command-line-argument, using getopt() to make code more consise and readable, without affecting its functionality.

Signed-off-by: Siyuan Hua jonnyhsy@foxmail.com

xuchunyang commented 9 years ago

As your commit message suggests, you are doing three different things, so you'd better do THREE small commits instead of a big one.