summaryrefslogtreecommitdiff
path: root/%25253fid%25253d2c9499bf272e06a62902711c6c20621ef3f80e64%253fid%253d2c9499bf2...
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-03-01 23:15:38 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2012-03-12 20:36:22 +0100
commit2c9499bf272e06a62902711c6c20621ef3f80e64 (patch)
tree6c71560531acf606557a586fa3cdf712e55b2960 /%25253fid%25253d2c9499bf272e06a62902711c6c20621ef3f80e64%253fid%253d2c9499bf272e06a62902711c6c20621ef3f80e64%3fid%3d2c9499bf272e06a62902711c6c20621ef3f80e64&id2%3d7072c9c88a5d54b3f22256e6cf0015e1900374da?id=2c9499bf272e06a62902711c6c20621ef3f80e64
parent7072c9c88a5d54b3f22256e6cf0015e1900374da (diff)
Use strcmp() instead of strncmp()
strncmp() isn't intended to be a secure strcmp() replacement, it is designed to be used if you want to compare the first n characters of two strings. Since we always compare character pointers with string literals, switch to using strcmp() everywhere. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to '%25253fid%25253d2c9499bf272e06a62902711c6c20621ef3f80e64%253fid%253d2c9499bf272e06a62902711c6c20621ef3f80e64%3fid%3d2c9499bf272e06a62902711c6c20621ef3f80e64&id2%3d7072c9c88a5d54b3f22256e6cf0015e1900374da?id=2c9499bf272e06a62902711c6c20621ef3f80e64')
0 files changed, 0 insertions, 0 deletions