comparison svr-x11fwd.c @ 723:0fd32a552ea5

Fix a few compile warnings
author Matt Johnston <matt@ucc.asn.au>
date Sat, 23 Mar 2013 23:17:01 +0800
parents a48a1f6ab43e
children 5daedffd0769
comparison
equal deleted inserted replaced
722:4a274f47eabd 723:0fd32a552ea5
173 void x11cleanup(struct ChanSess *chansess) { 173 void x11cleanup(struct ChanSess *chansess) {
174 174
175 m_free(chansess->x11authprot); 175 m_free(chansess->x11authprot);
176 m_free(chansess->x11authcookie); 176 m_free(chansess->x11authcookie);
177 177
178 TRACE(("chansess %x", chansess)) 178 TRACE(("chansess %p", chansess))
179 if (chansess->x11listener != NULL) { 179 if (chansess->x11listener != NULL) {
180 remove_listener(chansess->x11listener); 180 remove_listener(chansess->x11listener);
181 chansess->x11listener = NULL; 181 chansess->x11listener = NULL;
182 } 182 }
183 } 183 }