~ubuntu-branches/debian/sid/varnish/sid

« back to all changes in this revision

Viewing changes to bin/varnishd/storage_synth.c

  • Committer: Bazaar Package Importer
  • Author(s): Stig Sandbeck Mathisen
  • Date: 2011-03-21 10:16:07 UTC
  • mfrom: (24.1.2 experimental)
  • Revision ID: james.westby@ubuntu.com-20110321101607-528fzl583fqanas5
Tags: 2.1.5-2
ReleaseĀ forĀ unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
#include "config.h"
32
32
 
33
33
#include "svnid.h"
34
 
SVNID("$Id: storage_synth.c 4093 2009-06-06 15:56:17Z des $")
 
34
SVNID("$Id$")
35
35
 
36
36
#include <sys/types.h>
37
37
 
121
121
        sto->len = vsb_len(vsb);
122
122
        sto->space = vsb_len(vsb);
123
123
        obj->len = sto->len;
 
124
        Lck_Lock(&sms_mtx);
124
125
        VSL_stats->sms_nbytes += sto->len;
125
126
        VSL_stats->sms_balloc += sto->len;
 
127
        Lck_Unlock(&sms_mtx);
126
128
}