# HG changeset patch # User anders # Date 1033649098 0 # Node ID 5ef4d009f95026dde8398af23d54149dc695a44a # Parent 0cba734693418dda868c9ea7ed8154fed7824ad6 Correcting error in macro diff -r 0cba73469341 -r 5ef4d009f950 libaf/af.h --- a/libaf/af.h Thu Oct 03 12:43:39 2002 +0000 +++ b/libaf/af.h Thu Oct 03 12:44:58 2002 +0000 @@ -164,7 +164,7 @@ filter doesn't operate on the incoming buffer this macro must be called to ensure the buffer is big enough. */ #define RESIZE_LOCAL_BUFFER(a,d)\ -((af->data->len < af_lencalc(af->mul,data))?af_resize_local_buffer(af,data):AF_OK) +((a->data->len < af_lencalc(a->mul,d))?af_resize_local_buffer(a,d):AF_OK) #ifndef min #define min(a,b)(((a)>(b))?(b):(a))