view admin/mailq.wmbiffrc @ 312:c74adb7c4f50

null-terminated the decoded base64 strings The returned size is still the same. I only alloced one byte more and filled it with zero. TODO: I'm not sure if the allocated size is exact. It's large enough but maybe too large.
author meillo@marmaro.de
date Sun, 24 Apr 2011 20:13:47 +0200
parents cab46cefa4ce
children
line wrap: on
line source

# mailq.wmbiffrc for masqmail by Paolo

label.4=mailq
path.4=shell:::mailq|grep ^[[:graph:]]|grep -v empty|wc -l
interval.4=600
notify.4=beep
notify.4=true
action.4=(echo "messages in the queue:";mailq|grep ^[[:graph:]]|grep -v empty)|xmessage -center -buttons vaBen -file -