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

index f3a0aaff41ed2857ff6c991be0c634e9e2e6c981..c132ea6ee81bde028bc0bbec1c27447610968ee8 100644 (file)
@@ -270,7 +270,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;
     }