File: fix-log-format.patch

package info (click to toggle)
gnustep-netclasses 1.06.dfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 720 kB
  • ctags: 112
  • sloc: objc: 4,254; ansic: 43; makefile: 33
file content (25 lines) | stat: -rw-r--r-- 764 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Fix broken log format.
Origin: upstream, http://svn.savannah.nongnu.org/viewvc/trunk/libs/netclasses/Source/IRCObject.m?root=gap&r1=2540&r2=2550
Last-Update: 2013-09-17
---

--- gnustep-netclasses.orig/Source/IRCObject.m
+++ gnustep-netclasses/Source/IRCObject.m
@@ -1924,7 +1924,7 @@
 	if ([line length] == 0)
 	{
 		[NSException raise: IRCException
-		 format: @"[IRCObject lineReceived: '@'] Line ended prematurely.",
+		 format: @"[IRCObject lineReceived: '%@'] Line ended prematurely.",
 		 orig];
 	}
 
@@ -1932,7 +1932,7 @@
 	if (command == nil)
 	{
 		[NSException raise: IRCException
-		 format: @"[IRCObject lineReceived: '@'] Line ended prematurely.",
+		 format: @"[IRCObject lineReceived: '%@'] Line ended prematurely.",
 		 orig];
 	}