pkgsrc-ng/www/seamonkey/patches/patch-mailnews_base_search_src_nsMsgSearchTerm.cpp
2014-08-11 13:27:10 +02:00

14 lines
616 B
C++

$NetBSD: patch-mailnews_base_search_src_nsMsgSearchTerm.cpp,v 1.2 2013/11/04 06:01:46 ryoon Exp $
--- mailnews/base/search/src/nsMsgSearchTerm.cpp.orig 2013-10-29 01:13:02.000000000 +0000
+++ mailnews/base/search/src/nsMsgSearchTerm.cpp
@@ -197,7 +197,7 @@ nsresult NS_MsgGetStringForAttribute(int
}
}
if (!found)
- *string = ""; // don't leave the string uninitialized
+ *string = NULL; // don't leave the string uninitialized
// we no longer return invalid attribute. If we cannot find the string in the table,
// then it is an arbitrary header. Return success regardless if found or not