Browse code

fix redirects

Dario Rodriguez authored on 26/06/2014 17:19:59
Showing 1 changed files
... ...
@@ -448,7 +448,7 @@ wk_serve_redirect(wk *paramweb, int connid, char *newlocation)
448 448
         if((res=wk_writestr((wk *)web,connid,newlocation))<0)
449 449
                 return(-1);
450 450
         total+=res;
451
-        if((res=wk_writestr((wk *)web,connid,"\r\n\r\n"))<0)
451
+        if((res=wk_writestr((wk *)web,connid,"\r\n\r\n\r\n"))<0)
452 452
                 return(-1);
453 453
         total+=res;
454 454
         return(total);