Skip to content

Commit c378a69

Browse files
[CLIENT-2157] udf_put(): stop hanging behavior when copying lua file to user path (#372)
1 parent 3df888b commit c378a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/client/udf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ PyObject *AerospikeClient_UDF_Put(AerospikeClient *self, PyObject *args,
214214
goto CLEANUP;
215215
}
216216

217-
char ch;
217+
int ch;
218218
while ((ch = fgetc(file_p)) != EOF) {
219219
int retVal = fputc(ch, copy_file_p);
220220
if (retVal == EOF) {

0 commit comments

Comments
 (0)