Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/writepocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ static const char atomSiteHeader[] =

void write_each_pocket_for_DB(const char out_path[], c_lst_pockets *pockets, s_pdb *pdb) {
int out_len = strlen(out_path);
char out[out_len + 20];
char out[out_len + 40];
out[0] = '\0';

node_pocket *pcur;
Expand Down Expand Up @@ -500,7 +500,7 @@ void write_mdpockets_concat_pqr(FILE *f, c_lst_pockets *pockets) {
*/
void write_each_pocket(const char out_path[], c_lst_pockets *pockets) {
int out_len = strlen(out_path);
char out[out_len + 20];
char out[out_len + 40];
out[0] = '\0';

node_pocket *pcur;
Expand Down