mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-03 12:28:51 +00:00
Stage 1 of clang compiler warning patches.
This commit is contained in:
@@ -287,7 +287,7 @@
|
||||
if ([filename length])
|
||||
// We replace any slash by a dash since Apache won't allow encoded slashes by default.
|
||||
// See http://httpd.apache.org/docs/2.2/mod/core.html#allowencodedslashes
|
||||
filename = [filename stringByReplacingString: @"/" withString: @"-"];
|
||||
filename = [[filename stringByReplacingString: @"/" withString: @"-"] mutableCopy];
|
||||
else
|
||||
[filename appendFormat: @"%@-%@",
|
||||
[self labelForKey: @"Untitled"],
|
||||
|
||||
Reference in New Issue
Block a user