adding to Ganado's points
suppose `otherQueue' has only one element, `temp->link' will be null, never enter the loop and you don't copy the element.
now consider the last iteration of the loop, ¿is the queue null terminated? ¿where does `queueFront' point to?
you have an .addQueue() function, ¿why don't you use it?