From: short <> Date: Sun, 16 Dec 2001 22:13:24 +0000 (+0000) Subject: "destination phone number" NULL wasn't checked for --ring-send & --picture-send X-Git-Tag: mdsms_1_5_3~4 X-Git-Url: http://git.jankratochvil.net/?p=mdsms.git;a=commitdiff_plain;h=b13669a4afe1fcbf5d72a3556b513b59ca3958b0 "destination phone number" NULL wasn't checked for --ring-send & --picture-send --- diff --git a/mdsms.c b/mdsms.c index c86f978..69ab8a4 100644 --- a/mdsms.c +++ b/mdsms.c @@ -662,7 +662,11 @@ static const struct nullcheck { enum modenum reqd; const char *name; } nullcheck[]={ - {&phone,MODE_BIT(MODE_SEND)|MODE_BIT(MODE_SEND_MOBILDOCK)|MODE_BIT(MODE_LOGO_SEND), + {&phone,MODE_BIT(MODE_SEND) + |MODE_BIT(MODE_SEND_MOBILDOCK) + |MODE_BIT(MODE_LOGO_SEND) + |MODE_BIT(MODE_RING_SEND) + |MODE_BIT(MODE_PICTURE_SEND), N_("destination phone number")}, {& logoname,MODE_BIT( MODE_LOGO_SEND),N_( "logo filename")}, {& ringname,MODE_BIT( MODE_RING_SEND),N_( "ring filename")},