aboutsummaryrefslogtreecommitdiff
path: root/toys/net/microcom.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2021-06-08 12:33:10 -0700
committerRob Landley <rob@landley.net>2021-06-09 18:41:59 -0500
commit412054cff027ee52cadc3684f6018cfb0e5eb8e2 (patch)
treeb37228e8b9f04dfc1a4363344a2a9403faf452b0 /toys/net/microcom.c
parent827cabf78905d4ccb24087df57f01adfeb30ad84 (diff)
downloadtoybox-412054cff027ee52cadc3684f6018cfb0e5eb8e2.tar.gz
md5sum.c: simplify the table setup slightly.
I don't think it was wrong before, but the strchr() in particular left me scratching my head. This formulation is slightly cheaper and seems more obviously correct. (Unrelated but nearby, I don't understand why anyone would ever want to calculate these tables at runtime, so this seems like another unnecessary CFG_TOYBOX_FLOAT to me, though an unusual one where we might want to _remove_ the floating-point code.)
Diffstat (limited to 'toys/net/microcom.c')
0 files changed, 0 insertions, 0 deletions