From db45ae3e538ec18e1422d8769eb5145260d49c63 Mon Sep 17 00:00:00 2001 From: c9s Date: Tue, 3 Jun 2014 22:37:09 +0800 Subject: [PATCH] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d67182..b9f25d2 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ r3_tree_insert_pathl(n ,"/post/{id}", strlen("/post/{id}") , &route_data ); r3_tree_insert_pathl(n, "/user/{id:\\d+}", strlen("/user/{id:\\d+}"), &route_data ); -// if you want to cache error, you may call the extended path function for insertion +// if you want to catch error, you may call the extended path function for insertion int data = 10; char *errstr = NULL; node *ret = r3_tree_insert_pathl_ex(n, "/foo/{name:\\d{5}", strlen("/foo/{name:\\d{5}"), NULL, &data, &errstr);