Created
February 12, 2014 07:50
-
-
Save kyleterry/8951545 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<<<<<<< HEAD | |
check(fread(tmp_key, sizeof(char), KEY_SIZE, fd) > 0, "Error reading"); | |
check(fread(&value_size, sizeof(size_t), 1, fd) > 0, "Error reading"); | |
======= | |
fread_res = fread(tmp_key, sizeof(char), KEY_SIZE, fd); | |
if (!fread_res) | |
ol_log_msg(LOG_WARN, "Could not read key.\n"); | |
fread_res = fread(&value_size, sizeof(size_t), 1, fd); | |
if (!fread_res) | |
ol_log_msg(LOG_WARN, "Could not read value_size.\n"); | |
>>>>>>> master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment