aboutsummaryrefslogtreecommitdiff
path: root/example/MacOS/README.md
diff options
context:
space:
mode:
authorYingpei Zeng <cszyingp@yahoo.com>2018-02-11 13:58:09 +0800
committerYingpei Zeng <cszyingp@yahoo.com>2018-02-11 13:58:09 +0800
commit053dbd73a6c90a93673ee7f4eb46890e7c50c27b (patch)
tree0f1a3a0562fc12618e70c0d94135a81595ffc5db /example/MacOS/README.md
parent8f631fa19dc8c9ee00b18ddca3723ccd2078167d (diff)
[For Xcode project] Change some typos in README.md and add macro definition for release build as well
Diffstat (limited to 'example/MacOS/README.md')
-rw-r--r--example/MacOS/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/example/MacOS/README.md b/example/MacOS/README.md
index b46833395..e7a9f91fc 100644
--- a/example/MacOS/README.md
+++ b/example/MacOS/README.md
@@ -8,11 +8,11 @@ You need to first compile the nDPI library as usual:
Then open the Xcode project and you are ready to go. The default behavior is to analyze an embeded pcap file `capture.pcap`. You can change the behavior by changing command line input in `ViewController.m` file.
-# What the XCode project did?
+# What does the XCode project do?
It's a dummy Mac App project with a **Run** button. It doesn't modify any nDPI code except that it renamed the `main` function to `orginal_main` in `ndpiReader.c` (because the Mac App has it's own main function) and call the `orginal_main` with synthetic command line input from `ViewController.m` file when the **Run** button is clicked.
-It also fixes some problems when compiling with Xcode. Somes are listed below:
+It also fixes some problems when compiling with Xcode. Some are listed below:
- Add missed `NDPI_LOG_DEBUG2` macro definition implementation (defined as `NDPI_LOG_DEBUG2_XCODE_PROJ` in `ViewController.m`)
-- Add a empty ndpi_utils.h file to make `protocols/attic/ftp.c` and `protocols/attic/secondlife.c` can compile
+- Add an empty ndpi_utils.h file to make `protocols/attic/ftp.c` and `protocols/attic/secondlife.c` can compile
- Specially treat `ndpi_patricia.c` by not adding it into compilation source, since it's directly included in `ndpi_main.c`