Rewrite m_resolve, add m_resolve_url
commit876107e3b44a3f2f42848247be302b01b7e63e9d
authorToni Gundogdu <legatvs@gmail.com>
Tue, 3 Sep 2013 11:35:15 +0000 (3 14:35 +0300)
committerToni Gundogdu <legatvs@gmail.com>
Tue, 3 Sep 2013 11:35:15 +0000 (3 14:35 +0300)
tree6634626aeebf005b21cf90828418ff1df1eb362b
parent12c1faabd906241f69e17b36907786c0f3be01d0
Rewrite m_resolve, add m_resolve_url

Modify m_resolve to reuse the GString:
* Read input URL from it
* Write resolved destination URL to it

Add m_resolve_url:
* Identical to the old m_resolve which took the input URL parameter

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
src/misc/resolve.c
src/misc/resolve.h