1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-30 13:01:23 +03:00

Fix warnings on testcases

This commit is contained in:
Aris Adamantiadis
2010-10-02 23:27:26 +02:00
parent 5f69d494ad
commit a9ec8b055f

View File

@@ -191,7 +191,7 @@ typedef struct ssh_socket_callbacks_struct *ssh_socket_callbacks;
* @returns nonzero if callback can be called
*/
#define ssh_callbacks_exists(p,c) (\
(p) && ( (char *)&((p)-> c) < (char *)(p) + (p)->size ) && \
(p != NULL) && ( (char *)&((p)-> c) < (char *)(p) + (p)->size ) && \
((p)-> c != NULL) \
)