File slrn-0.9.8.1pl1-fromsearch.diff of Package slrn

--- src/art.c
+++ src/art.c
@@ -5064,8 +5064,8 @@
 				       (unsigned char *) l->from + strlen (l->from),
 				       &st))
 #else
-		 && (NULL != SLsearch_forward (st, (SLuchar_Type *) l->subject,
-					       (SLuchar_Type *) l->subject + strlen (l->subject)))
+		 && (NULL != SLsearch_forward (st, (SLuchar_Type *) l->from,
+					       (SLuchar_Type *) l->from + strlen (l->from)))
 #endif
 		     )
 	  break;
openSUSE Build Service is sponsored by