From 8937ecf171fb5f68c3f4b9f321bdbb1b185a5ce8 Mon Sep 17 00:00:00 2001 From: Matt Galloway Date: Wed, 23 Jan 2013 11:21:56 +0000 Subject: [PATCH] Fix typo which caused the file ivar to be set instead of function --- Lumberjack/DDLog.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lumberjack/DDLog.m b/Lumberjack/DDLog.m index ca2086c29..498b46e4c 100755 --- a/Lumberjack/DDLog.m +++ b/Lumberjack/DDLog.m @@ -871,7 +871,7 @@ - (id)initWithLogMsg:(NSString *)msg file = (char *)aFile; if (options & DDLogMessageCopyFunction) - file = dd_str_copy(aFunction); + function = dd_str_copy(aFunction); else function = (char *)aFunction;