projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f20b4a5
)
* its a pointer, so compare it with NULL not 0
author
Wilfried Göesgens
<willi@citadel.org>
Sun, 21 Feb 2010 17:03:06 +0000
(17:03 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Sun, 21 Feb 2010 17:03:06 +0000
(17:03 +0000)
libcitadel/lib/stringbuf.c
patch
|
blob
|
history
diff --git
a/libcitadel/lib/stringbuf.c
b/libcitadel/lib/stringbuf.c
index 5ded8753fa828463eabe2e8d894d72e1e109f315..fe4913fa4487a48fb166485ed04bfe2d5b396eae 100644
(file)
--- a/
libcitadel/lib/stringbuf.c
+++ b/
libcitadel/lib/stringbuf.c
@@
-3456,7
+3456,7
@@
int StrBufReadBLOBBuffered(StrBuf *Blob,
pos = *Pos;
- if (pos
> 0
)
+ if (pos
!= NULL
)
len = pos - IOBuf->buf;
rlen = IOBuf->BufUsed - len;