* Don't crash when posting if the user doesn't have an Internet directory address
authorArt Cancro <ajc@citadel.org>
Tue, 5 Feb 2002 05:05:54 +0000 (05:05 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 5 Feb 2002 05:05:54 +0000 (05:05 +0000)
citadel/ChangeLog
citadel/msgbase.c

index 53117e2733b8cb18ea66d02d6db2e471756c33e7..1b057c29d0aa9abe1e9655b90b6a56121e85a0dc 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 590.101  2002/02/05 05:05:53  ajc
+ * Don't crash when posting if the user doesn't have an Internet directory address
+
  Revision 590.100  2002/02/03 15:29:03  error
  * fixed a silly oversight in serv_crypto.c when removing the ETLS command
 
@@ -3292,4 +3295,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
-
index 4c162d2b25ee5703cc1cd1c6e3c2267be9de06f8..7e92d9996f847e940a1267d4b62df67ab035439e 100644 (file)
@@ -2123,7 +2123,7 @@ static struct CtdlMessage *make_message(
                msg->cm_fields['D'] = strdoop(dest_node);
        }
 
-       if (author == &CC->usersupp) {
+       if ( (author == &CC->usersupp) && (CC->cs_inet_email != NULL) ) {
                msg->cm_fields['F'] = strdoop(CC->cs_inet_email);
        }