Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#2192 closed Enhancement (fixed)

tr_session's hashstring-to-filename code reinvents the wheel

Reported by: charles Owned by: charles
Priority: Low Milestone: 1.72
Component: libtransmission Version: 1.71
Severity: Minor Keywords:
Cc:

Description

I was looking over session.c's hashstring-to-filename code, to see if the cause for #2183 might possibly be in libtransmission, when I noticed that three or four functions, and a lot of scaffolding, are being used to create a string-to-string lookup table of the kind that tr_benc already implements and has regression tests for.

tr_session should use tr_benc for its hashstring-to-filename lookup

Change History (4)

comment:1 Changed 13 years ago by charles

  • Status changed from new to assigned

added in r8660

comment:2 Changed 13 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:3 Changed 13 years ago by charles

and r8661

comment:4 Changed 13 years ago by charles

  • Priority changed from Normal to Low
  • Severity changed from Normal to Minor
Note: See TracTickets for help on using tickets.