CVS: bopm/src scan.c,1.34,1.35

[email protected] (David Leadbeater)
Newsgroups gmane.network.irc.bopm
Message-ID <[email protected]>
Update of /data/cvs/bopm/src
In directory nubian.blitzed.org:/usr/home/dg/bopm/src

Modified Files:
	scan.c 
Log Message:
Of course it would help if I could type


Index: scan.c
===================================================================
RCS file: /data/cvs/bopm/src/scan.c,v
retrieving revision 1.34
retrieving revision 1.35
diff --unified=6 -r1.34 -r1.35
--- scan.c	23 Aug 2004 22:34:53 -0000	1.34
+++ scan.c	23 Aug 2004 22:43:21 -0000	1.35
@@ -421,18 +421,18 @@
                {
                   case OPM_ERR_NOPROTOCOLS:
                      continue;
                      break;
                   case OPM_ERR_BADADDR:
                      log_printf("OPM -> Bad address %s [%s].",
-                           (ss->manual_target->name ? ss->manual_target_name :
+                           (ss->manual_target ? ss->manual_target->name :
                            "(unknown)"), ss->ip);
                      break;
                   default:
                      log_printf("OPM -> Unknown error %s [%s].",
-                           (ss->manual_target->name ? ss->manual_target_name :
+                           (ss->manual_target ? ss->manual_target->name :
                            "(unknown)"), ss->ip);
                      break;
                }
             }
             else
                ss->scans++; /* Increase scan count only if OPM_SUCCESS */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.