* move serv_info into the session, here we can control its de/allocation the right...
[citadel.git] / webcit / smtpqueue.c
index 1f86b3f27bf438bc1d1b89486af09aec999bc8f4..43f5cd90ac064ecb079d0e622a008766d52fd9c5 100644 (file)
@@ -90,7 +90,7 @@ void display_queue_msg(long msgnum)
                                atsign = strchr(sender, '@');
                                if (atsign != NULL) {
                                        ++atsign;
-                                       if (!strcasecmp(atsign, ChrPtr(serv_info.serv_nodename))) {
+                                       if (!strcasecmp(atsign, ChrPtr(WC->serv_info->serv_nodename))) {
                                                --atsign;
                                                *atsign = 0;
                                        }