summaryrefslogtreecommitdiff
path: root/accel-pptpd/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/log.c')
-rw-r--r--accel-pptpd/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pptpd/log.c b/accel-pptpd/log.c
index e8f47b6..f87f115 100644
--- a/accel-pptpd/log.c
+++ b/accel-pptpd/log.c
@@ -252,7 +252,7 @@ static struct log_msg_t *clone_msg(struct _log_msg_t *msg)
m->timestamp = msg->timestamp;
m->level = msg->level;
- __sync_add_and_fetch(&msg->refs, 1);
+ msg->refs++;
//printf("clone msg %p\n", m);
return m;