+2000-11-08 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * url.c (construct): Changed last_slash[-1] to *(last_slash - 1).
+ Suggested by Edward J. Sabol.
+
2000-11-08 Hrvoje Niksic <hniksic@arsdigita.com>
* url.c (construct): Handle the case where host name is not
start_insert = end + 1;
need_explicit_slash = 1;
}
- else if (last_slash && last_slash != url && last_slash[-1] == '/')
+ else if (last_slash && last_slash != url && *(last_slash - 1) == '/')
{
/* example: http://host" */
/* ^ */