Make fann_get_errstr compatible

Esse commit está contido em:
Jakub Zelenka
2016-01-27 19:03:55 +00:00
commit 86afc91c61
+1 -1
Ver Arquivo
@@ -3498,7 +3498,7 @@ PHP_FUNCTION(fann_get_errstr)
}
PHP_FANN_FETCH_ERRDAT();
if (errdat->errstr) {
RETURN_STRING(errdat->errstr, 1);
PHPC_CSTR_RETURN(errdat->errstr);
} else {
RETURN_EMPTY_STRING();
}