~bkerensa/modemmanager/0.6

Viewing all changes in revision 1232.

  • Committer: Dan Williams
  • Date: 2013-04-18 16:27:43 UTC
  • Revision ID: git-v1:99978b9ad2157e66e857b4dc08b98dff47b43343
core: rework logging code to remove log message truncation (bgo #698312)

Use a static GString which will resize itself if the log message
is bigger than the current string size, but will also ensure we
don't do a ton of memory reallocation on every log message.

Previously all log messages were trucated at 512 bytes due to the
log buffer char array being 512 bytes long.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: