Commit f23417fe authored by rswindell's avatar rswindell
Browse files

Use the specified 'from' extension (number, specified with the -e option) for

posted messages, not just email/netmail.
parent 5064c17e
......@@ -8,7 +8,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* *
* Copyright 2011 Rob Swindell - http://www.synchro.net/copyright.html *
* Copyright 2014 Rob Swindell - http://www.synchro.net/copyright.html *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
......@@ -284,7 +284,7 @@ void postmsg(char type, char* to, char* to_number, char* to_address,
,beep,SENDER,i,smb.last_error);
bail(1);
}
if(smb.status.attr&SMB_EMAIL) {
if((smb.status.attr&SMB_EMAIL) || from_number!=NULL) {
if(from_number==NULL) {
printf("From User Number: ");
gets(str);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment