Show
Ignore:
Timestamp:
05/27/10 17:26:12 (8 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1274981172 +0000
git-parent:

[6b98359629dd39bf8458179390a951ccd05fbea7]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1274981172 +0000
Message:

refs #284

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_filters.c

    rd845c8d rf8f8b5e  
    392392 
    393393  info = noit_console_userdata_get(ncct, NOIT_CONF_T_USERDATA); 
    394   if(!info || 
    395      (strncmp(info->path, "/filtersets/", strlen("/filtersets/")) && 
    396       strcmp(info->path, "/filtersets"))) { 
     394  if(!info) { 
     395    nc_printf(ncct, "internal error\n"); 
     396    goto cleanup; 
     397  } 
     398  if(strncmp(info->path, "/filtersets/", strlen("/filtersets/")) && 
     399     strcmp(info->path, "/filtersets")) { 
    397400    nc_printf(ncct, "filterset only allows inside /filtersets (not %s)\n", 
    398401              info->path);