Show
Ignore:
Timestamp:
03/18/08 17:21:28 (21 months ago)
Author:
dsallings
Message:

Style fix: responseBuf -> response_buf

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/binary/server/memcached.c

    r757 r758  
    980980    size_t nkey; 
    981981    int i; 
    982     uint64_t *responseBuf = (uint64_t*) c->wbuf + BIN_INCR_HDR_LEN; 
     982    uint64_t *response_buf = (uint64_t*) c->wbuf + BIN_INCR_HDR_LEN; 
    983983 
    984984    assert(c != NULL); 
     
    10081008        tmpbuf[INCR_MAX_STORAGE_LEN]=0x00; 
    10091009        add_delta(it, c->cmd == CMD_INCR, delta, tmpbuf); 
    1010         *responseBuf=swap64(strtoull(tmpbuf, NULL, 10)); 
    1011  
    1012         write_bin_response(c, responseBuf, BIN_INCR_HDR_LEN, INCR_RES_LEN); 
     1010        *response_buf=swap64(strtoull(tmpbuf, NULL, 10)); 
     1011 
     1012        write_bin_response(c, response_buf, BIN_INCR_HDR_LEN, INCR_RES_LEN); 
    10131013        item_remove(it);         /* release our reference */ 
    10141014    } else { 
     
    10161016            /* Save some room for the response */ 
    10171017            assert(c->wsize > BIN_INCR_HDR_LEN + BIN_DEL_HDR_LEN); 
    1018             *responseBuf=swap64(initial); 
     1018            *response_buf=swap64(initial); 
    10191019            it = item_alloc(key, nkey, 0, realtime(exptime), 
    10201020                INCR_MAX_STORAGE_LEN); 
     
    10221022 
    10231023            if(store_item(it, NREAD_SET)) { 
    1024                 write_bin_response(c, responseBuf, BIN_INCR_HDR_LEN, 
     1024                write_bin_response(c, response_buf, BIN_INCR_HDR_LEN, 
    10251025                    INCR_RES_LEN); 
    10261026            } else {