[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Do not crash when no desc is found
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv23129/src/or
Modified Files:
rendservice.c
Log Message:
Do not crash when no desc is found
Index: rendservice.c
===================================================================
RCS file: /home/or/cvsroot/src/or/rendservice.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- rendservice.c 7 Apr 2004 22:48:06 -0000 1.38
+++ rendservice.c 8 Apr 2004 01:54:02 -0000 1.39
@@ -720,7 +720,7 @@
/* If there's no need to republish, stop here. */
now = time(NULL);
- if (!changed &&
+ if (!changed && service->desc &&
service->desc->timestamp+MAX_SERVICE_PUBLICATION_INTERVAL >= now)
continue;