fix incorrect memset

git-svn-id: file:///home/svn/framework3/trunk@4746 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Matt Miller 2007-04-24 00:27:30 +00:00
parent affc5fb958
commit 48e3edc7c9
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ Packet *packet_create(PacketTlvType type, LPCSTR method)
if (!(packet = (Packet *)malloc(sizeof(Packet))))
break;
memset(packet, 0, sizeof(packet));
memset(packet, 0, sizeof(Packet));
// Initialize the header length and message type
packet->header.length = htonl(sizeof(TlvHeader));