forked from DragonFlyBSD/DPorts
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
DPorts Builder
committed
Feb 9, 2017
1 parent
6815b36
commit 048d95b
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
irc/kvirc/files/patch-src_modules_rijndael_libkvirijndael.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- src/modules/rijndael/libkvirijndael.cpp.orig 2011-07-23 15:15:56 UTC | ||
+++ src/modules/rijndael/libkvirijndael.cpp | ||
@@ -328,7 +328,7 @@ | ||
setLastError(__tr2qs("The message is not a hexadecimal string: this is not my stuff")); | ||
return false; | ||
} else { | ||
- if(len > 0) | ||
+ if(*len > 0) | ||
{ | ||
*outBuffer = (char *)KviMemory::allocate(*len); | ||
KviMemory::move(*outBuffer,tmpBuf,*len); | ||
@@ -354,7 +354,7 @@ | ||
setLastError(__tr2qs("The message is not a base64 string: this is not my stuff")); | ||
return false; | ||
} else { | ||
- if(len > 0) | ||
+ if(*len > 0) | ||
{ | ||
*outBuffer = (char *)KviMemory::allocate(*len); | ||
KviMemory::move(*outBuffer,tmpBuf,*len); |