Fix another error path

More to do though...
This commit is contained in:
Bastien Nocera
2008-10-31 00:33:33 +00:00
committed by Daniel Drake
parent f83ee93d6a
commit 0a075532c7

View File

@ -557,8 +557,9 @@ static void fprint_device_verify_start(FprintDevice *rdev,
prints = store.discover_prints(priv->ddev, priv->username); prints = store.discover_prints(priv->ddev, priv->username);
if (prints == NULL) { if (prints == NULL) {
//FIXME exit g_set_error(&error, FPRINT_ERROR, FPRINT_ERROR_NO_SUCH_LOADED_PRINT,
g_message ("NO PRINTS"); "No fingerprints enrolled");
dbus_g_method_return_error(context, error);
return; return;
} }
if (fp_dev_supports_identification(priv->dev)) { if (fp_dev_supports_identification(priv->dev)) {