Skip to content

Commit

Permalink
widen string so we can import multiple packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mlubin committed Jan 13, 2016
1 parent bc90b2d commit 26c2b6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmpb.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ int mpb_initialize() {
}

int mpb_new_solver(const char *packagename, const char *solvername, void **output) {
char tmp[30];
snprintf(tmp, 30, "using %s", packagename);
char tmp[200];
snprintf(tmp, 200, "using %s", packagename);
jl_eval_string(tmp);
assert(!jl_exception_occurred());

Expand Down

0 comments on commit 26c2b6a

Please sign in to comment.