Changeset 6600 for pymolproxy/trunk
- Timestamp:
- Nov 10, 2016, 5:54:51 PM (8 years ago)
- Location:
- pymolproxy/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pymolproxy/trunk/Makefile.in
r6598 r6600 28 28 VPATH = $(srcdir) 29 29 30 SVN_VERSION = $(shell svnversion $(srcdir) | sed 's/Unversioned directory/unknown/')30 SVN_VERSION = $(shell svnversion -c $(srcdir) | sed 's/Unversioned directory/unknown/') 31 31 STATSDIR = @STATSDIR@ 32 32 LOGDIR = @LOGDIR@ -
pymolproxy/trunk/pymolproxy.c
r6599 r6600 12 12 * image rendered offscreen is returned as ppm-formatted image data. 13 13 * 14 * Copyright (c) 2004-201 2HUBzero Foundation, LLC14 * Copyright (c) 2004-2016 HUBzero Foundation, LLC 15 15 * 16 16 * See the file "license.terms" for information on usage and … … 237 237 #if WANT_DEBUG 238 238 static void 239 PrintToLog TCL_VARARGS_DEF(const char *, arg1) 240 { 241 const char *format; 239 PrintToLog (const char *format, ...) 240 { 242 241 va_list args; 243 242 244 format = TCL_VARARGS_START(const char *, arg1, args);243 va_start(args, format); 245 244 fprintf(stderr, "pymolproxy: "); 246 245 vfprintf(stderr, format, args); 246 va_end(args); 247 247 fprintf(stderr, "\n"); 248 248 fflush(stderr); … … 270 270 length += vsnprintf(message + length, MSG_LEN - length, fmt, lst); 271 271 message[MSG_LEN] = '\0'; 272 va_end(lst); 273 272 274 if (debug) { 273 275 DEBUG("%s\n", message); … … 278 280 279 281 static void 280 Record TCL_VARARGS_DEF(const char *, arg1) 281 { 282 const char *format; 282 Record (const char *format, ...) 283 { 283 284 va_list args; 284 285 285 format = TCL_VARARGS_START(const char *, arg1, args);286 va_start(args, format); 286 287 vfprintf(frecord, format, args); 288 va_end(args); 287 289 fflush(frecord); 288 290 }
Note: See TracChangeset
for help on using the changeset viewer.