Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Minor fix in DDLogMessage. #87

Closed
wants to merge 1 commit into from

2 participants

@NSDex

...ction is specified

Fixes an issue where the function name passed to DDLogMessage would be
copied to the file name if DDLogMessageCopyFunction is specified in the
options.

@NSDex NSDex aFunction should be copied to function, not file, if DDLogMessageCopy…
…Function is specified

Fixes an issue where the function name passed to DDLogMessage would be
copied to the file name if DDLogMessageCopyFunction is specified in the
options.
4ed4509
@robbiehanson

Fixed via pull request #92

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 26, 2012
  1. @NSDex

    aFunction should be copied to function, not file, if DDLogMessageCopy…

    NSDex authored
    …Function is specified
    
    Fixes an issue where the function name passed to DDLogMessage would be
    copied to the file name if DDLogMessageCopyFunction is specified in the
    options.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  Lumberjack/DDLog.m
View
2  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;
Something went wrong with that request. Please try again.