Compile bug in libmutt/sort.c



	Hi all,
fix for a compile bug in libmutt/sort.c (if LIBMUTT is not defined).
Question : in libmutt/sort.c, line 103 : we return a char* on a local 
variable (the empty string "") or I'm missing something?
Wouldn't it be more correct to return a globally defined empty string here?
--- sort.c	Fri Jun 30 14:16:54 2000
+++ sort.c.corr	Mon Jun 18 11:08:08 2001
@@ -93,8 +93,9 @@
     if (option (OPTREVALIAS) && (ali = alias_reverse_lookup (a)) && ali->personal)
       return ali->personal;
     else if (a->personal)
-#endif
+#else
     if (a->personal)
+#endif
       return a->personal;
     else if (a->mailbox)
       return (a->mailbox);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]