(_mg_buffer_zero): new macro that zaps a gss_buffer_t

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19948 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-01-17 10:03:07 +00:00
parent 5a426b3ba1
commit c441e760b5

View File

@@ -61,3 +61,6 @@
#include "mech_switch.h"
#include "name.h"
#include "utils.h"
#define _mg_buffer_zero(buffer) \
do { (buffer)->value = NULL; (buffer)->length = 0; } while(0)