summaryrefslogtreecommitdiff
path: root/src/ne_uri.c
diff options
context:
space:
mode:
authorjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2006-01-10 13:39:59 +0000
committerjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2006-01-10 13:39:59 +0000
commitea590226ea3e6d4acb16b78feff8f25db8dc0b15 (patch)
tree3e9fbe9ff1af8adda74d80c3a55bf083ed43225b /src/ne_uri.c
parent0999813d108453febe6282e1c22ec0bf98e6d6ca (diff)
downloadneon-ea590226ea3e6d4acb16b78feff8f25db8dc0b15.tar.gz
* src/ne_uri.c (CMPWITH): M-x backslash-region.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@835 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
Diffstat (limited to 'src/ne_uri.c')
-rw-r--r--src/ne_uri.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ne_uri.c b/src/ne_uri.c
index 016b506..c90fff0 100644
--- a/src/ne_uri.c
+++ b/src/ne_uri.c
@@ -490,15 +490,15 @@ char *ne_path_escape(const char *path)
#undef path_escape_ch
-#define CMPWITH(field, func) \
- do { \
- if (u1->field) { \
- if (!u2->field) return -1; \
+#define CMPWITH(field, func) \
+ do { \
+ if (u1->field) { \
+ if (!u2->field) return -1; \
n = func(u1->field, u2->field); \
if (n) return n; \
- } else if (u2->field) { \
- return 1; \
- } \
+ } else if (u2->field) { \
+ return 1; \
+ } \
} while (0)
#define CMP(field) CMPWITH(field, strcmp)