Fossil SCM

Remove redundant code.

andybradford 2014-02-03 07:09 http-auth
Commit 3afd0289f38b3c20cb96592dbae8b9e21b62620f
1 file changed -1
-1
--- src/http.c
+++ src/http.c
@@ -293,11 +293,10 @@
293293
fossil_warning("HTTP Basic Authorization failed.");
294294
if( g.zHttpAuth ){
295295
free(g.zHttpAuth);
296296
g.zHttpAuth = 0;
297297
}
298
- transport_close(GLOBAL_URL());
299298
return http_exchange(pSend, pReply, useLogin, maxRedirect);
300299
}
301300
}
302301
if( rc!=200 && rc!=302 ){
303302
int ii;
304303
--- src/http.c
+++ src/http.c
@@ -293,11 +293,10 @@
293 fossil_warning("HTTP Basic Authorization failed.");
294 if( g.zHttpAuth ){
295 free(g.zHttpAuth);
296 g.zHttpAuth = 0;
297 }
298 transport_close(GLOBAL_URL());
299 return http_exchange(pSend, pReply, useLogin, maxRedirect);
300 }
301 }
302 if( rc!=200 && rc!=302 ){
303 int ii;
304
--- src/http.c
+++ src/http.c
@@ -293,11 +293,10 @@
293 fossil_warning("HTTP Basic Authorization failed.");
294 if( g.zHttpAuth ){
295 free(g.zHttpAuth);
296 g.zHttpAuth = 0;
297 }
 
298 return http_exchange(pSend, pReply, useLogin, maxRedirect);
299 }
300 }
301 if( rc!=200 && rc!=302 ){
302 int ii;
303

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button