summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Jones <mjjones@us.ibm.com>2011-11-11 08:54:22 -0600
committerMIKE J. JONES <mjjones@us.ibm.com>2011-11-11 09:06:21 -0600
commitc4c52d57c809bc9b6c8a94a8d9fb66489f246a18 (patch)
tree7b7c5c36a2838962252ad4f0621fbf74f0ffc930
parent3038d54f6ca6a2ad945bc072aa34a2a64811829d (diff)
downloadblackbird-hostboot-c4c52d57c809bc9b6c8a94a8d9fb66489f246a18.tar.gz
blackbird-hostboot-c4c52d57c809bc9b6c8a94a8d9fb66489f246a18.zip
Enable call to memmem in prdfCompressBuffer (bugfix)
Change-Id: I57c39e644ce9ec709857992235636be84997a8ac Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/494 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
-rw-r--r--src/include/usr/ecmddatabuffer/prdfCompressBuffer.H6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/include/usr/ecmddatabuffer/prdfCompressBuffer.H b/src/include/usr/ecmddatabuffer/prdfCompressBuffer.H
index a77e526ba..9a269e993 100644
--- a/src/include/usr/ecmddatabuffer/prdfCompressBuffer.H
+++ b/src/include/usr/ecmddatabuffer/prdfCompressBuffer.H
@@ -195,10 +195,8 @@ namespace PrdfCompressBuffer
{
uint8_t * l_tmpMatch = NULL;
- // MIKE TODO
- l_tmpMatch = NULL;
- //l_tmpMatch = (uint8_t *) memmem(l_lookahead, l_laSize,
- //i_buf, i);
+ l_tmpMatch = (uint8_t *) memmem(l_lookahead, l_laSize,
+ i_buf, i);
if (l_tmpMatch != NULL) // found match.
{
OpenPOWER on IntegriCloud