Mercurial > pidgin.yaz
comparison libpurple/protocols/myspace/myspace.h @ 17332:f3ec513efb59
Parenthesize 5 * 1024, in case the macro expansion occurs within a complex
expression.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Fri, 01 Jun 2007 05:10:01 +0000 |
parents | 57bde8784308 |
children | d3e17c9d16e9 |
comparison
equal
deleted
inserted
replaced
17331:9accf6d6cd61 | 17332:f3ec513efb59 |
---|---|
80 #define MSIM_PORT 1863 /* TODO: alternate ports and automatic */ | 80 #define MSIM_PORT 1863 /* TODO: alternate ports and automatic */ |
81 | 81 |
82 /* Constants */ | 82 /* Constants */ |
83 #define HASH_SIZE 0x14 /**< Size of SHA-1 hash for login */ | 83 #define HASH_SIZE 0x14 /**< Size of SHA-1 hash for login */ |
84 #define NONCE_SIZE 0x20 /**< Half of decoded 'nc' field */ | 84 #define NONCE_SIZE 0x20 /**< Half of decoded 'nc' field */ |
85 #define MSIM_READ_BUF_SIZE 5 * 1024 /**< Receive buffer size */ | 85 #define MSIM_READ_BUF_SIZE (5 * 1024) /**< Receive buffer size */ |
86 #define MSIM_FINAL_STRING "\\final\\" /**< Message end marker */ | 86 #define MSIM_FINAL_STRING "\\final\\" /**< Message end marker */ |
87 | 87 |
88 /* Messages */ | 88 /* Messages */ |
89 #define MSIM_BM_INSTANT 1 | 89 #define MSIM_BM_INSTANT 1 |
90 #define MSIM_BM_STATUS 100 | 90 #define MSIM_BM_STATUS 100 |