summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/couchdb/couch_server.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_server.erl b/src/couchdb/couch_server.erl
index 43fd9044..88bd6107 100644
--- a/src/couchdb/couch_server.erl
+++ b/src/couchdb/couch_server.erl
@@ -326,7 +326,7 @@ handle_call({delete, DbName, _Options}, _From, Server) ->
couch_util:shutdown_sync(Pid),
true = ets:delete(couch_dbs_by_name, DbName),
true = ets:delete(couch_dbs_by_pid, Pid),
- [gen_server:send_result(F, not_found) || F <- Froms],
+ [gen_server:reply(F, not_found) || F <- Froms],
true;
[{_, {opened, Pid, LruTime}}] ->
couch_util:shutdown_sync(Pid),