diff options
Diffstat (limited to 'queue.c')
-rw-r--r-- | queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ void Queue_Push(struct Queue *q,void *data) struct Queue_Node *temp=malloc(sizeof(struct Queue_Node)); q->last->prev=temp; temp->data=data; - + temp->prev=NULL; q->last=temp; ++q->size; } |