Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #29 from sirkonst/hardlinks
Set hardlinks as count of objects in the container (only for account listing).
  • Loading branch information
sudorandom committed Nov 26, 2013
2 parents ad9a26b + bdd5d53 commit d37b070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swftp/ftp/server.py
Expand Up @@ -35,7 +35,7 @@ def stat_format(keys, props):
elif key == 'permissions':
val = st.st_mode
elif key == 'hardlinks':
val = 0
val = st.st_nlink
elif key == 'modified':
val = int(st.st_mtime)
elif key in 'owner':
Expand Down

0 comments on commit d37b070

Please sign in to comment.