FreeTDM: Remove trailing whitespace at end of ftdm_{copy,set}_string()
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
This commit is contained in:
parent
bed72bff7a
commit
90691b36c4
|
@ -64,10 +64,10 @@ typedef uint64_t ftdm_time_t;
|
|||
#endif
|
||||
|
||||
/*! \brief strncpy replacement */
|
||||
#define ftdm_copy_string(x,y,z) strncpy(x, y, z - 1)
|
||||
#define ftdm_copy_string(x,y,z) strncpy(x, y, z - 1)
|
||||
|
||||
/*! \brief strncpy into a fixed-length buffer */
|
||||
#define ftdm_set_string(x,y) strncpy(x, y, sizeof(x)-1)
|
||||
#define ftdm_set_string(x,y) strncpy(x, y, sizeof(x)-1)
|
||||
|
||||
/*! \brief check for null or zero length string buffer */
|
||||
#define ftdm_strlen_zero(s) (!s || *s == '\0')
|
||||
|
|
Loading…
Reference in New Issue