Skip to content

Commit

Permalink
use the correct #if condition for strtoll(), pointed out in bug report
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Jun 3, 2009
1 parent bc4c258 commit afcf63b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libssh2_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ struct _LIBSSH2_SESSION
unsigned char scpRecv_response[LIBSSH2_SCP_RESPONSE_BUFLEN];
unsigned long scpRecv_response_len;
long scpRecv_mode;
#if defined(HAVE_LONGLONG) && defined(strtoll)
#if defined(HAVE_LONGLONG) && defined(HAVE_STRTOLL)
/* we have the type and we can parse such numbers */
long long scpRecv_size;
#define scpsize_strtol strtoll
Expand Down

0 comments on commit afcf63b

Please sign in to comment.