1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

smb: Use atol rather than atoi for file sizes.

Corresponds to FSP commit 9f47368894.
This commit is contained in:
Kalle Olavi Niemitalo 2007-03-06 00:19:29 +02:00 committed by Kalle Olavi Niemitalo
parent 3b634ffee6
commit f905379aed

View File

@ -460,7 +460,7 @@ smb_got_header(struct socket *socket, struct read_buffer *rb)
#ifdef HAVE_ATOLL
conn->est_length = (off_t)atoll(ctype);
#else
conn->est_length = (off_t)atoi(ctype);
conn->est_length = (off_t)atol(ctype);
#endif
mem_free(ctype);