comparison libpurple/protocols/zephyr/ZLocations.c @ 31086:a8cc50c2279f

Remove trailing whitespace
author Richard Laager <rlaager@wiktel.com>
date Tue, 04 Jan 2011 06:55:30 +0000
parents f160b6e84d0c
children
comparison
equal deleted inserted replaced
31085:44f53d3fc54f 31086:a8cc50c2279f
4 * 4 *
5 * Created by: Robert French 5 * Created by: Robert French
6 * 6 *
7 * Copyright (c) 1987,1988,1991 by the Massachusetts Institute of Technology. 7 * Copyright (c) 1987,1988,1991 by the Massachusetts Institute of Technology.
8 * For copying and distribution information, see the file 8 * For copying and distribution information, see the file
9 * "mit-copyright.h". 9 * "mit-copyright.h".
10 */ 10 */
11 11
12 #include "internal.h" 12 #include "internal.h"
13 13
14 #ifndef WIN32 14 #ifndef WIN32
19 #include <errno.h> 19 #include <errno.h>
20 20
21 Code_t ZSetLocation(exposure) 21 Code_t ZSetLocation(exposure)
22 char *exposure; 22 char *exposure;
23 { 23 {
24 return (Z_SendLocation(LOGIN_CLASS, exposure, ZAUTH, 24 return (Z_SendLocation(LOGIN_CLASS, exposure, ZAUTH,
25 "$sender logged in to $1 on $3 at $2")); 25 "$sender logged in to $1 on $3 at $2"));
26 } 26 }
27 27
28 Code_t ZUnsetLocation() 28 Code_t ZUnsetLocation()
29 { 29 {
30 return (Z_SendLocation(LOGIN_CLASS, LOGIN_USER_LOGOUT, ZNOAUTH, 30 return (Z_SendLocation(LOGIN_CLASS, LOGIN_USER_LOGOUT, ZNOAUTH,
31 "$sender logged out of $1 on $3 at $2")); 31 "$sender logged out of $1 on $3 at $2"));
32 } 32 }
33 33
34 Code_t ZFlushMyLocations() 34 Code_t ZFlushMyLocations()
35 { 35 {
135 ZFreeNotice(&retnotice); 135 ZFreeNotice(&retnotice);
136 return (ZERR_LOGINFAIL); 136 return (ZERR_LOGINFAIL);
137 } 137 }
138 ZFreeNotice(&retnotice); 138 ZFreeNotice(&retnotice);
139 return (ZERR_SERVNAK); 139 return (ZERR_SERVNAK);
140 } 140 }
141 141
142 if (retnotice.z_kind != SERVACK) { 142 if (retnotice.z_kind != SERVACK) {
143 ZFreeNotice(&retnotice); 143 ZFreeNotice(&retnotice);
144 return (ZERR_INTERNAL); 144 return (ZERR_INTERNAL);
145 } 145 }
146 146
154 ZFreeNotice(&retnotice); 154 ZFreeNotice(&retnotice);
155 return (ZERR_INTERNAL); 155 return (ZERR_INTERNAL);
156 } 156 }
157 157
158 ZFreeNotice(&retnotice); 158 ZFreeNotice(&retnotice);
159 159
160 return (ZERR_NONE); 160 return (ZERR_NONE);
161 } 161 }