Fixed print_message() when out of memory.
authorIain Patterson <me@iain.cx>
Sat, 28 Dec 2013 16:33:38 +0000 (16:33 +0000)
committerIain Patterson <me@iain.cx>
Sat, 28 Dec 2013 17:12:13 +0000 (17:12 +0000)
commit021655a300b7d9518d473207a30a61ecccf853e9
treeb8c6b822ae344eb8c751d60427ff5690715bc83f
parentdf78fd1169e68500a493a977d20c40b4ec166cc7
Fixed print_message() when out of memory.

We were passing NSSM_EVENT_OUT_OF_MEMORY to print_message() but
print_message() expects printf-style message strings and NSSM_EVENT_*
strings use %1, %2 etc.  Instead we now use the new message
NSSM_MESSAGE_OUT_OF_MEMORY when printing memory errors to the console.
messages.mc
service.cpp