Skip to content

Commit

Permalink
Merge pull request #6 from flightaware/BCK-9998_behavior_break
Browse files Browse the repository at this point in the history
add  missing break to cmdBehavior
  • Loading branch information
bovine authored Oct 2, 2024
2 parents 849820f + a44c005 commit f325c93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions generic/tclMemcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,9 @@ static int Memcache_Cmd(ClientData arg, Tcl_Interp * interp, int objc, Tcl_Obj *
uint64_t currentVal = memcached_behavior_get(get_memc(), cmd);
Tcl_SetObjResult(interp, Tcl_NewWideIntObj(currentVal));
}
break;


case cmdStringError:
/*
* Return the string associated with a libmemcached error code.
Expand All @@ -366,6 +369,7 @@ static int Memcache_Cmd(ClientData arg, Tcl_Interp * interp, int objc, Tcl_Obj *
return TCL_ERROR;
}
Tcl_SetResult(interp, memcached_strerror(get_memc(), errorcode), TCL_VOLATILE);
break;
}
return TCL_OK;
}
Expand Down

0 comments on commit f325c93

Please sign in to comment.