Changeset 24300 for titan/titan/sock.h


Ignore:
Timestamp:
10/14/13 14:48:54 (10 years ago)
Author:
nit
Message:

debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/sock.h

    r24298 r24300  
    615615        len = strtol(chunked, NULL, 16);
    616616printf("999999999\n");
    617         debug(99, "chunkedlen=%ul", len);
     617        debug(99, "chunkedlen=%u", len);
    618618        return len;
    619619}
     
    828828
    829829end:
     830printf("aaaaaaaa\n");
    830831        free(tmpbuf);
    831832        if(fd != NULL) fclose(fd);
    832833        sockclose(&sock);
    833        
     834printf("bbbbbb\n");     
    834835        if(gzip != 0)
    835836        {
     837                debug(99, "http unzip start");
    836838                int unzipret = 0, outlen = 0;
    837839                char* outbuf = NULL;
     
    868870                        err("no mem");
    869871                }
    870         }
    871 
     872                debug(99, "http unzip end");
     873        }
     874printf("ccccccccc\n");
    872875        if(filename == NULL)
    873876        {
     
    875878                buf[count] = '\0';
    876879        }
    877 
     880printf("ddddddddd\n");
    878881        if((hret == 301 || hret == 302) && retstr != NULL && redirect < 3) //redirect
    879882        {
     
    898901                        }
    899902                }
    900 
     903printf("eeeeeeeee\n");
    901904                redirect++;
    902905                free(buf); buf = NULL;
     
    904907                free(rhost); rhost = NULL;
    905908        }
    906 
     909printf("ffffffff\n");
    907910        if(clen != 0) *clen = maxret;
    908911        if(dnode != NULL) dnode->ret = 0;
    909912        free(retstr); retstr = NULL;
    910 
     913printf("ggggggggggg\n");
    911914        if(filename == NULL)
    912915                return buf;
Note: See TracChangeset for help on using the changeset viewer.