[licq-im/licq] 2ada60: licq: Don't assume fifo data has line break

GitHub <[email protected]> Sat, 05 Jan 2013 05:15:15 -0800
Newsgroups gmane.network.licq.cvs
Message-ID <[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/licq-im/licq
  Commit: 2ada601947b68ff16ca3479418eac118467d5af7
      https://github.com/licq-im/licq/commit/2ada601947b68ff16ca3479418eac118467d5af7
  Author: Anders Olofsson <[email protected]>
  Date:   2013-01-04 (Fri, 04 Jan 2013)

  Changed paths:
    M licq/doc/CHANGELOG
    M licq/src/fifo.cpp
    M licq/src/fifo.h

  Log Message:
  -----------
  licq: Don't assume fifo data has line break

If fifo got data without a line break at the end, fgets() would wait
forever without returning the main thread.
By using a buffer and finding the line breaks ourselves we don't risk
locking the main thread.