projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0f806a
)
Fix firebird bug #60947 , tested and now it prints the header page information from...
author
Popa Adrian Marius
<mariuz@php.net>
Thu, 29 Mar 2012 15:28:01 +0000
(18:28 +0300)
committer
Popa Adrian Marius
<mariuz@php.net>
Thu, 29 Mar 2012 15:28:01 +0000
(18:28 +0300)
ext/interbase/ibase_service.c
patch
|
blob
|
history
diff --git
a/ext/interbase/ibase_service.c
b/ext/interbase/ibase_service.c
index 6faaa564d5de2ab9026b780e29a17c4b8d0ea86e..1846b7416f9012652e51959a34d0fdc5008a293f 100644
(file)
--- a/
ext/interbase/ibase_service.c
+++ b/
ext/interbase/ibase_service.c
@@
-322,8
+322,8
@@
query_loop:
}
result += 2;
*(result+line_len) = 0;
- snprintf(heap_p, heap_buf_size - (heap_
buf - heap_p
), "%s\n", result);
- heap_p += line_len +
2
;
+ snprintf(heap_p, heap_buf_size - (heap_
p - heap_buf
), "%s\n", result);
+ heap_p += line_len +
1
;
goto query_loop; /* repeat until result is exhausted */
case isc_info_svc_server_version: