+        format[sizeof(format - 1)] = '\0';


Shouldn't that be 'format[sizeof(format) - 1]' ?

--
Mehmet

Reply via email to