aboutsummaryrefslogtreecommitdiff
path: root/lib/version.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-05-21 23:04:15 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-05-21 23:04:15 +0200
commit0a29e2445c8d7300b5d72e2ba05755ea1ad5b6d1 (patch)
treece7d4499663ac249650572a4c26e1ede2d6ecbdc /lib/version.c
parent700335103e039a9f56adf24cfe95fb846caebe61 (diff)
TFTP: block id wrap bug fix
In a normal expression, doing [unsigned short] + 1 will not wrap at 16 bits so the comparisons and outputs were done wrong. I added a macro do make sure it gets done right. Douglas Kilpatrick filed bug report #3004787 about it: http://curl.haxx.se/bug/view.cgi?id=3004787
Diffstat (limited to 'lib/version.c')
0 files changed, 0 insertions, 0 deletions