Add debug.

This commit is contained in:
Michael Drake 2014-08-04 14:48:32 +01:00
parent af16c38d2d
commit 04ea4b52a0
1 changed files with 16 additions and 0 deletions

View File

@ -501,6 +501,22 @@ static void nsurl__get_string_markers(const char * const url_s,
marker.fragment = marker.end; marker.fragment = marker.end;
} }
#ifdef NSURL_DEBUG
LOG(("marker.start: %i", marker.start));
LOG(("marker.scheme_end: %i", marker.scheme_end));
LOG(("marker.authority: %i", marker.authority));
LOG(("marker.colon_first: %i", marker.colon_first));
LOG(("marker.at: %i", marker.at));
LOG(("marker.colon_last: %i", marker.colon_last));
LOG(("marker.path: %i", marker.path));
LOG(("marker.query: %i", marker.query));
LOG(("marker.fragment: %i", marker.fragment));
LOG(("marker.end: %i", marker.end));
#endif
/* Got all the URL components pegged out now */ /* Got all the URL components pegged out now */
*markers = marker; *markers = marker;
} }