poldek: poldek/vfile/vfreq.c - compile before commit...

mis mis at pld-linux.org
Fri Jul 6 00:21:51 CEST 2007


Author: mis                          Date: Thu Jul  5 22:21:51 2007 GMT
Module: poldek                        Tag: HEAD
---- Log message:
- compile before commit...

---- Files affected:
poldek/poldek/vfile:
   vfreq.c (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: poldek/poldek/vfile/vfreq.c
diff -u poldek/poldek/vfile/vfreq.c:1.9 poldek/poldek/vfile/vfreq.c:1.10
--- poldek/poldek/vfile/vfreq.c:1.9	Fri Jul  6 00:16:40 2007
+++ poldek/poldek/vfile/vfreq.c	Fri Jul  6 00:21:46 2007
@@ -230,17 +230,17 @@
     struct vf_request  *req, rreq, preq;
     int                len;
 
-    memset(&r, 0, sizeof(r));
+    memset(&rreq, 0, sizeof(rreq));
 
     //printf("**request new %s\n", url);
     snprintf(buf, sizeof(buf), "%s", url);
     
-    if (!vf_parse_url(buf, &req) || rreq.uri == NULL) {
+    if (!vf_parse_url(buf, &rreq) || rreq.uri == NULL) {
         vf_logerr(err_msg, CL_URL(url));
         return NULL;
     }
     
-    if ((proxy = get_proxy(&r))) {
+    if ((proxy = get_proxy(&rreq))) {
         char pbuf[PATH_MAX];
 
         snprintf(pbuf, sizeof(pbuf), "%s", proxy);
@@ -254,7 +254,7 @@
     
     if (destpath) {
         rreq.destpath = (char*)destpath;
-        if (!vf_request_open_destpath(&r))
+        if (!vf_request_open_destpath(&rreq))
             return NULL;
     }
     
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/poldek/poldek/vfile/vfreq.c?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list