fix errno mismatch bug
fix errno mismatch bug

gigablast/open-source-search-engine,MikeLx/open-source-search-engine,gigablast/open-source-search-engine,gigablast/open-source-search-engine,MikeLx/open-source-search-engine,MikeLx/open-source-search-engine,gigablast/open-source-search-engine,gigablast/open-source-search-engine,MikeLx/open-source-search-engine,gigablast/open-source-search-engine,MikeLx/open-source-search-engine,gigablast/open-source-search-engine,MikeLx/open-source-search-engine