[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pecl-cvs
Subject:    [PECL-CVS] com =?UTF-8?Q?pecl/search=5Fengine/solr=3A=20Fix=20collapse=20function=20?= =?UTF-8?Q?nam
From:       Omar Shaban <omars () php ! net>
Date:       2015-09-19 2:52:42
Message-ID: php-mail-e316af4a9362ec75660fea467bb2247e1092562192 () git ! php ! net
[Download RAW message or body]

Commit:    51efdfa23dd97d05cf0079947a0c6d3b666bbb1d
Author:    Omar Shaban <omars@php.net>         Sat, 19 Sep 2015 04:52:42 +0200
Parents:   d4f8d7b9cc36b8a5510d7d5c7207b5202953ae8c
Branches:  master

Link:       http://git.php.net/?p=pecl/search_engine/solr.git;a=commitdiff;h=51efdfa23dd97d05cf0079947a0c6d3b666bbb1d


Log:
Fix collapse function name len

Changed paths:
  M  php_solr_collapse_function.c


Diff:
diff --git a/php_solr_collapse_function.c b/php_solr_collapse_function.c
index f388abd..bdd3d74 100644
--- a/php_solr_collapse_function.c
+++ b/php_solr_collapse_function.c
@@ -50,7 +50,7 @@ PHP_METHOD(SolrCollapseFunction, __construct)
 
     solr_function_dest->function_index = index;
     solr_function_dest->name = (solr_char_t *)"collapse";
-    solr_function_dest->name_length = sizeof(solr_function_dest->name);
+    solr_function_dest->name_length = sizeof("collapse");
 
     /* Allocated memory for the params HashTable using fast cache for HashTables */
     ALLOC_HASHTABLE(solr_function_dest->params);


--
PECL CVS Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic