comparison libpurple/protocols/zephyr/ZRecvNot.c @ 31534:a8cc50c2279f

Remove trailing whitespace
author Richard Laager <rlaager@wiktel.com>
date Tue, 04 Jan 2011 06:55:30 +0000
parents 5fe8042783c1
children
comparison
equal deleted inserted replaced
31533:44f53d3fc54f 31534:a8cc50c2279f
3 * 3 *
4 * Created by: Robert French 4 * Created by: Robert French
5 * 5 *
6 * Copyright (c) 1987,1988 by the Massachusetts Institute of Technology. 6 * Copyright (c) 1987,1988 by the Massachusetts Institute of Technology.
7 * For copying and distribution information, see the file 7 * For copying and distribution information, see the file
8 * "mit-copyright.h". 8 * "mit-copyright.h".
9 */ 9 */
10 10
11 #include "internal.h" 11 #include "internal.h"
12 12
13 Code_t ZReceiveNotice(notice, from) 13 Code_t ZReceiveNotice(notice, from)
26 26
27 if (!nextq) 27 if (!nextq)
28 return (ENOMEM); 28 return (ENOMEM);
29 29
30 len = nextq->packet_len; 30 len = nextq->packet_len;
31 31
32 if (!(buffer = (char *) malloc((unsigned) len))) 32 if (!(buffer = (char *) malloc((unsigned) len)))
33 return (ENOMEM); 33 return (ENOMEM);
34 34
35 if (from) 35 if (from)
36 *from = nextq->from; 36 *from = nextq->from;
37 37
38 (void) memcpy(buffer, nextq->packet, len); 38 (void) memcpy(buffer, nextq->packet, len);
39 39
40 auth = nextq->auth; 40 auth = nextq->auth;
41 Z_RemQueue(nextq); 41 Z_RemQueue(nextq);
42 42
43 if ((retval = ZParseNotice(buffer, len, notice)) != ZERR_NONE) 43 if ((retval = ZParseNotice(buffer, len, notice)) != ZERR_NONE)
44 return (retval); 44 return (retval);
45 notice->z_checked_auth = auth; 45 notice->z_checked_auth = auth;
46 return ZERR_NONE; 46 return ZERR_NONE;
47 } 47 }