diff options
Diffstat (limited to 'src/pdu.h')
-rw-r--r-- | src/pdu.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -119,7 +119,7 @@ int pdu_user_data_read(int fd, struct pdu_info *pdu); #define cycledown(n, mod) ((mod - 1) - ((n) % (mod))) //Returns the number of octets the given septets (normal ascii) can be encoded to -#define octets_from_septets(n) ((((n) * 7) + ((-(n) * 7) & 7)) / 8) +#define octets_from_septets(n) ((((n) * 7) + ((-(n) * 7) & 7)) / 8) //Returns the number of septets the given octets will decode to #define septets_from_octets(n) ((n) * 8 / 7) |