]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3763: diskd Error: no filename in shm buffer
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 14 Feb 2013 09:14:37 +0000 (02:14 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 14 Feb 2013 09:14:37 +0000 (02:14 -0700)
src/DiskIO/DiskDaemon/diskd.cc

index 9c46255b363636ca3fe051c4dab612ce62e02cad..5e3287a31ae595ee553a14dcc4f33aa14dfa5249 100644 (file)
@@ -264,7 +264,7 @@ msg_handle(diomsg * r, int rl, diomsg * s)
 
     if (s->shm_offset > -1)
         buf = shmbuf + s->shm_offset;
-    else {
+    else if (r->mtype != _MQD_CLOSE) {
         fprintf(stderr, "%d UNLNK id(%u) Error: no filename in shm buffer\n", (int) mypid, s->id);
         return;
     }