Ticket #1042: 0001-Bug-1042-Rate-limit-warn-on-onionskin-handoff.patch

File 0001-Bug-1042-Rate-limit-warn-on-onionskin-handoff.patch, 1.1 KB (added by cjb, 9 years ago)
  • new file changes/bug1042

    From 6fdf48e3bfedf4d0680f9e3b3db10e4b6b51f59b Mon Sep 17 00:00:00 2001
    From: Chris Ball <chris@printf.net>
    Date: Sat, 31 Jul 2010 19:57:20 -0400
    Subject: [PATCH] Bug #1042: Rate-limit warn on onionskin handoff
    
    ---
     changes/bug1042  |    4 ++++
     src/or/command.c |    2 +-
     2 files changed, 5 insertions(+), 1 deletions(-)
     create mode 100644 changes/bug1042
    
    diff --git a/changes/bug1042 b/changes/bug1042
    new file mode 100644
    index 0000000..514aa7e
    - +  
     1  o Minor bugfixes:
     2    - Rate-limit onionskin hand off warning by changing to info.
     3      Bugfix in 0.0.2pre10, closes bug 1042.
     4
  • src/or/command.c

    diff --git a/src/or/command.c b/src/or/command.c
    index 0460e25..cde5242 100644
    a b command_process_var_cell(var_cell_t *cell, or_connection_t *conn) 
    215215      PROCESS_CELL(versions, cell, conn);
    216216      break;
    217217    default:
    218       log_warn(LD_BUG,
     218      log_info(LD_BUG,
    219219               "Variable-length cell of unknown type (%d) received.",
    220220               cell->command);
    221221      tor_fragile_assert();