comparison svr-x11fwd.c @ 1038:d3925ed45a85

Fix for old compilers, variable declarations at beginning of functions and /**/ comments
author Thorsten Horstmann <thorsten.horstmann@web.de>
date Tue, 24 Feb 2015 20:51:18 +0800
parents 5daedffd0769
children c45d65392c1a
comparison
equal deleted inserted replaced
1037:7c899f24a85b 1038:d3925ed45a85
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 %p", chansess)) 178 TRACE(("chansess %p", (void*)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 }